diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/elm/Makefile | 8 |
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 |