summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-11-21 19:53:20 +0000
committertron <tron@pkgsrc.org>1999-11-21 19:53:20 +0000
commit8db5eec92862185d69d8fc7988bb053746eb1111 (patch)
treea839375a6ffc191b5e0b60ce4e6524c5ca1dbcae /x11
parent921fedbeabf00588667f75773f465ee77d6f4e85 (diff)
downloadpkgsrc-8db5eec92862185d69d8fc7988bb053746eb1111.tar.gz
Make this package build on "a.out" systems.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-python/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/x11/gnome-python/Makefile b/x11/gnome-python/Makefile
index 76e3ab855ea..0a9017ea634 100644
--- a/x11/gnome-python/Makefile
+++ b/x11/gnome-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/11/20 20:17:47 tron Exp $
+# $NetBSD: Makefile,v 1.2 1999/11/21 19:53:20 tron Exp $
DISTNAME= gnome-python-1.0.50
CATEGORIES= x11 gnome
@@ -13,4 +13,13 @@ GNU_CONFIGURE= yes
USE_X11= yes
USE_GMAKE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OBJECT_FMT} == a.out)
+post-configure:
+ ${MV} ${WRKSRC}/pygnome/Makefile ${WRKSRC}/pygnome/Makefile.old
+ ${SED} -e 's#-Wl,-R#-R#g' ${WRKSRC}/pygnome/Makefile.old \
+ >${WRKSRC}/pygnome/Makefile
+.endif
+
.include "../../mk/bsd.pkg.mk"