aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exim
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-08-19 20:17:57 +0800
committereik <eik@FreeBSD.org>2004-08-19 20:17:57 +0800
commitee69000271873cd2824bc9b5131c734dc43df51d (patch)
tree66515222bda85267f5eccc2fe9fe923d0e6386b0 /mail/exim
parent87a45f298590968ab648a621947755910d57bd8c (diff)
downloadfreebsd-ports-gnome-ee69000271873cd2824bc9b5131c734dc43df51d.tar.gz
freebsd-ports-gnome-ee69000271873cd2824bc9b5131c734dc43df51d.tar.zst
freebsd-ports-gnome-ee69000271873cd2824bc9b5131c734dc43df51d.zip
Respect CC
Reminded by: krion
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 24cb8e72e041..946fb80a76ea 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -81,7 +81,7 @@ PKGMESSAGE= ${WRKDIR}/POST-INSTALL-NOTES
PKGMESSAGE= ${WRKDIR}/pkg-message
.endif
-MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH} LOCALBASE=${LOCALBASE}
+MAKE_ENV+= OSTYPE="${OPSYS}" ARCHTYPE="${ARCH}"
.if defined(EXIMON_ONLY)
MAKE_ENV+= INSTALL_ARG="eximon eximon.bin"
.endif
@@ -492,6 +492,8 @@ do-configure:
@${REINPLACE_CMD} -e 's/"(Exim $$version_number)\\n\\t"/"(Exim $$version_number (${OPSYS}))\\n\\t"/' \
${WRKSRC}/src/globals.c
@${REINPLACE_CMD} -e 's/^#include "cnumber\.h"$$/${PORTREVISION}/' ${WRKSRC}/src/version.c
+ @${REINPLACE_CMD} -e 's/^PERL_COMMAND=.*/PERL_COMMAND=${PERL:S,/,\/,g}/' \
+ -e 's/^CC=.*/CC=${CC:S,/,\/,g}/' ${WRKSRC}/OS/Makefile-Default
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} configure)
post-build:
@@ -538,7 +540,7 @@ post-install:
.endfor
@${MKDIR} ${DESTDIR}${EXAMPLESDIR}
.for example in ${PORT_EXAMPLES}
- @${INSTALL_SCRIPT} ${WRKSRC}/build-${OPSYS}-${MACHINE_ARCH}/${example} ${DESTDIR}${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${WRKSRC}/build-${OPSYS}-${ARCH}/${example} ${DESTDIR}${EXAMPLESDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}