summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-01-02 19:55:15 +0000
committertron <tron@pkgsrc.org>2000-01-02 19:55:15 +0000
commit2da2fc84a37fdc5269a5e0fe49874d6b39e62315 (patch)
tree44ce31f592ab16e9dff764386cf59979b5703bc2
parent366b41c85532dd405c3761bb7c7f46343adb553d (diff)
downloadpkgsrc-2da2fc84a37fdc5269a5e0fe49874d6b39e62315.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"