summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2002-10-27 15:33:23 +0000
committerbouyer <bouyer@pkgsrc.org>2002-10-27 15:33:23 +0000
commit4c2c6626a974e56507ad9db0b35cf5d4dbd12265 (patch)
treeeb088dede1e3434d55453a6f6eada5d3e146f9c6
parentaf19e7e02ce474a2fb9676d47a6bf9fde148635c (diff)
downloadpkgsrc-4c2c6626a974e56507ad9db0b35cf5d4dbd12265.tar.gz
Use buildlink2, and make sure config.sh uses BUILDLINK_CC instead off cc
(which doesn't work on solaris).
-rw-r--r--mail/elm/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/elm/Makefile b/mail/elm/Makefile
index 30315ecbfb4..609627ddf24 100644
--- a/mail/elm/Makefile
+++ b/mail/elm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2002/10/21 22:10:04 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2002/10/27 15:33:23 bouyer Exp $
DISTNAME= elm2.5.5
PKGNAME= elm-2.5.5
@@ -9,6 +9,8 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.instinct.org/elm/
COMMENT= ELM Mail User Agent (without ME extensions)
+USE_BUILDLINK2= YES
+
CONFLICTS+= mm-[0-9]* metamail-[0-9]*
CONFLICTS+= elm-me-[0-9]*
@@ -22,7 +24,9 @@ pre-configure:
${SED} -e 's:PREFIX:'${PREFIX}':g' \
${WRKSRC}/config.sh.orig > ${WRKSRC}/config.sh.tmp
${SED} -e 's:LOCALBASE:'${LOCALBASE}':g' \
- ${WRKSRC}/config.sh.tmp > ${WRKSRC}/config.sh
+ ${WRKSRC}/config.sh.tmp > ${WRKSRC}/config.sh.tmp2
+ ${SED} -e 's:@CC@:'${BUILDLINK_CC}':g' \
+ ${WRKSRC}/config.sh.tmp2 > ${WRKSRC}/config.sh
${MV} ${WRKSRC}/nls/LANGS ${WRKSRC}/nls/LANGS.tmpl
${SED} -e 's:__PREFIX:'${PREFIX}':g' < ${WRKSRC}/nls/LANGS.tmpl > ${WRKSRC}/nls/LANGS