diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-10-15 16:53:11 +0000 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-10-15 16:53:11 +0000 |
commit | aeaa10430c5c0034bc65642cdd0dee00204ad856 (patch) | |
tree | f308b5717868e65349dc3be1dae2b59d6860bde2 /mail/gld | |
parent | ec96e99a947eefa0ed253d599b568a54c0041864 (diff) | |
download | FreeBSD-ports-aeaa10430c5c0034bc65642cdd0dee00204ad856.zip FreeBSD-ports-aeaa10430c5c0034bc65642cdd0dee00204ad856.tar.gz |
- Make port respect CFLAGS
Approved by: novel (mentor) (implicit)
Diffstat (limited to 'mail/gld')
-rw-r--r-- | mail/gld/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/gld/Makefile b/mail/gld/Makefile index 416ae8b..02a358c 100644 --- a/mail/gld/Makefile +++ b/mail/gld/Makefile @@ -43,6 +43,10 @@ CONFIGURE_ARGS+= --with-pgsql=${PREFIX} USE_PGSQL= yes .endif +post-patch: + ${REINPLACE_CMD} -e 's|\(@CC@\ \)-O2|\1${CFLAGS}|' \ + ${WRKSRC}/Makefile.in + pre-build: ${REINPLACE_CMD} -e 's,"/etc/gld.conf","${PREFIX}/etc/gld.conf",' ${WRKSRC}/gld.h for f in gld.sh MESSAGE; do \ |