diff options
author | eik <eik@FreeBSD.org> | 2004-08-19 20:17:57 +0800 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-08-19 20:17:57 +0800 |
commit | ee69000271873cd2824bc9b5131c734dc43df51d (patch) | |
tree | 66515222bda85267f5eccc2fe9fe923d0e6386b0 /mail/exim | |
parent | 87a45f298590968ab648a621947755910d57bd8c (diff) | |
download | freebsd-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/Makefile | 6 |
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} |