aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2005-07-14 03:51:49 +0800
committerache <ache@FreeBSD.org>2005-07-14 03:51:49 +0800
commit9ff7acc2b5fcdca8f5dd93174c5f1ea7534b10ac (patch)
tree5e6402ea72324b6ab93d9c015d06deee764e296f /mail
parentd17901571442be1f1625c46caff9568802480def (diff)
downloadfreebsd-ports-gnome-9ff7acc2b5fcdca8f5dd93174c5f1ea7534b10ac.tar.gz
freebsd-ports-gnome-9ff7acc2b5fcdca8f5dd93174c5f1ea7534b10ac.tar.zst
freebsd-ports-gnome-9ff7acc2b5fcdca8f5dd93174c5f1ea7534b10ac.zip
Honor CFLAGS
Diffstat (limited to 'mail')
-rw-r--r--mail/dk-milter/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/dk-milter/Makefile b/mail/dk-milter/Makefile
index 49e0983fd45b..3a80107d88de 100644
--- a/mail/dk-milter/Makefile
+++ b/mail/dk-milter/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dk-milter
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dk-milter
@@ -49,6 +50,7 @@ pre-configure:
${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' \
-e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ -e "s|\`-O'|\`${CFLAGS}'|g" \
${WRKSRC}/devtools/OS/FreeBSD
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \