diff options
author | tron <tron> | 1999-11-21 16:14:18 +0000 |
---|---|---|
committer | tron <tron> | 1999-11-21 16:14:18 +0000 |
commit | 246c59fa11850464e21be3fea14b7d435ac43a74 (patch) | |
tree | 2836cb72faee4cfae14406f2695ffcdd23f38903 /x11 | |
parent | 06efbdcca5dcf78e78faa279e64a48ce6de80e3d (diff) | |
download | pkgsrc-246c59fa11850464e21be3fea14b7d435ac43a74.tar.gz |
Make this package build on "a.out" systems.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/py-gtk/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/py-gtk/Makefile b/x11/py-gtk/Makefile index 3df7ceb6c96..0e5f84688a1 100644 --- a/x11/py-gtk/Makefile +++ b/x11/py-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/11/20 19:57:58 tron Exp $ +# $NetBSD: Makefile,v 1.2 1999/11/21 16:14:18 tron Exp $ DISTNAME= pygtk-0.6.3 PKGNAME= py-gtk-0.6.3 @@ -15,4 +15,12 @@ GNU_CONFIGURE= yes USE_X11= yes USE_GMAKE= yes +.include "../../mk/bsd.prefs.mk" + +.if (${OBJECT_FMT} == a.out) +post-configure: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old + ${SED} -e 's#-Wl,-R#-R#g' ${WRKSRC}/Makefile.old >${WRKSRC}/Makefile +.endif + .include "../../mk/bsd.pkg.mk" |