diff options
author | abs <abs> | 2003-12-10 18:22:45 +0000 |
---|---|---|
committer | abs <abs> | 2003-12-10 18:22:45 +0000 |
commit | 8ff6add041f4c81b023a789a459e63b57c259667 (patch) | |
tree | 48776788c50ce80eb79a6ff193fafd939f7e00ba /www/galeon | |
parent | 4442bd55e8a72f6dcb5a738f33fb7ec3f7dda968 (diff) | |
download | pkgsrc-8ff6add041f4c81b023a789a459e63b57c259667.tar.gz |
Tweak (ugly) post-buildlink: hack to only occur if gcc3 is found. Tested on:
- i386 current (1.6ZE)
- i386 1.6.2_RC3
- i386 1.6.2_RC3 with USE_GCC3
Previous version was committed by accident
No change to generated package, only to if package could be generated at all,
so no PKGREVISION change.
Does not fix, but provides a workaround for PR pkg/23053 and PR pkg/23509
Diffstat (limited to 'www/galeon')
-rw-r--r-- | www/galeon/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile index f45b923f86b..d7fe6e5d1c0 100644 --- a/www/galeon/Makefile +++ b/www/galeon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.55 2003/11/27 15:03:36 abs Exp $ +# $NetBSD: Makefile,v 1.56 2003/12/10 18:22:45 abs Exp $ DISTNAME= galeon-1.2.13 CATEGORIES= www @@ -53,8 +53,13 @@ LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} pre-install: ${GCONF_PREFIX}/bin/gconftool --shutdown +.if !empty(CC_VERSION:Mgcc-3*) +# Workaround for gcc3 build issue post-buildlink: - perl -pi -e 's:(exec \$$cmd):$$1 -lstdc++ -lm:' work/.buildlink/bin/cc + ${CP} work/.buildlink/bin/cc work/.buildlink/bin/cc.orig + ${SED} 's:\(exec \$$cmd\):\1 -lstdc++ -lm:' work/.buildlink/bin/cc.orig\ + > work/.buildlink/bin/cc +.endif post-install: ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@MOZILLA_PREFIX@,${MOZILLA_PREFIX},g" ${FILESDIR}/galeon.in > ${PREFIX}/bin/galeon |