summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"