summaryrefslogtreecommitdiff
path: root/www/galeon
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-18 13:33:40 +0000
committerjlam <jlam>2004-02-18 13:33:40 +0000
commitc8a2fd90b73c914420e9b31021f269ee79cbfae1 (patch)
treee6391a0a29cee2898ed380fe3328cb0b69890ce3 /www/galeon
parent920811ba4244705fdca01b1f2e99c9104cf6ec5f (diff)
downloadpkgsrc-c8a2fd90b73c914420e9b31021f269ee79cbfae1.tar.gz
Include "../../mk/compiler.mk" to get the value of CC_VERSION before
testing it.
Diffstat (limited to 'www/galeon')
-rw-r--r--www/galeon/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile
index 12dcb63a711..f77454a45f2 100644
--- a/www/galeon/Makefile
+++ b/www/galeon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2004/02/14 17:21:54 jlam Exp $
+# $NetBSD: Makefile,v 1.63 2004/02/18 13:33:41 jlam Exp $
DISTNAME= galeon-1.2.13
PKGREVISION= 2
@@ -51,9 +51,7 @@ LDFLAGS+= -Wl,${RPATH_FLAG}${MOZ_LIBDIR}
# Ensure we export symbols in the linked shared object.
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
-pre-install:
- ${GCONF_PREFIX}/bin/gconftool --shutdown
-
+.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-3*)
# Workaround for gcc3 build issue
post-buildlink:
@@ -62,6 +60,9 @@ post-buildlink:
> ${BUILDLINK_DIR}/bin/cc
.endif
+pre-install:
+ ${GCONF_PREFIX}/bin/gconftool --shutdown
+
post-install:
${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@MOZILLA_PREFIX@,${MOZILLA_PREFIX},g" ${FILESDIR}/galeon.in > ${PREFIX}/bin/galeon
${CHOWN} ${BINOWN} ${PREFIX}/bin/galeon