summaryrefslogtreecommitdiff
path: root/www/galeon
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-18 13:33:40 +0000
committerjlam <jlam@pkgsrc.org>2004-02-18 13:33:40 +0000
commitefa1ab70ba871ae157aeaa0b56ad9a331eb91e69 (patch)
treee6391a0a29cee2898ed380fe3328cb0b69890ce3 /www/galeon
parentc40ee95964564e28bc4d27851d406f8cd0048057 (diff)
downloadpkgsrc-efa1ab70ba871ae157aeaa0b56ad9a331eb91e69.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