summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2000-01-02 19:55:15 +0000
committertron <tron>2000-01-02 19:55:15 +0000
commitd9974cd16239178428e603c8bec545435d73e4a6 (patch)
tree44ce31f592ab16e9dff764386cf59979b5703bc2
parenta36067af6ca48cfc5a8e0bb7a132f95ebcb31157 (diff)
downloadpkgsrc-d9974cd16239178428e603c8bec545435d73e4a6.tar.gz
Fix build problem on a.out systems.
-rw-r--r--x11/gnome-python/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/gnome-python/Makefile b/x11/gnome-python/Makefile
index 94fe2be3e06..595f0427e71 100644
--- a/x11/gnome-python/Makefile
+++ b/x11/gnome-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/01/02 18:11:22 tron Exp $
+# $NetBSD: Makefile,v 1.5 2000/01/02 19:55:15 tron Exp $
DISTNAME= gnome-python-1.0.50
CATEGORIES= x11 gnome
@@ -17,9 +17,11 @@ USE_GMAKE= yes
.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
+.for DIR in pygtk pygnome
+ ${MV} ${WRKSRC}/${DIR}/Makefile ${WRKSRC}/${DIR}/Makefile.old
+ ${SED} -e 's#-Wl,-R#-R#g' ${WRKSRC}/${DIR}/Makefile.old \
+ >${WRKSRC}/${DIR}/Makefile
+.endfor
.endif
.include "../../mk/bsd.pkg.mk"