aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-09-14 23:33:03 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-09-14 23:33:03 +0800
commit1f70dd47bace37d924d31ea0ce0709c11384b52e (patch)
tree373edc885f33f515e038b5cb547a72a431a87693 /mail
parent037ae6e3f46a48ca985975264b47f84fb4abf7f9 (diff)
downloadfreebsd-ports-gnome-1f70dd47bace37d924d31ea0ce0709c11384b52e.tar.gz
freebsd-ports-gnome-1f70dd47bace37d924d31ea0ce0709c11384b52e.tar.zst
freebsd-ports-gnome-1f70dd47bace37d924d31ea0ce0709c11384b52e.zip
- Fix build on head without gcc
Reported by: pkg-fallout
Diffstat (limited to 'mail')
-rw-r--r--mail/queue-fix/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/queue-fix/Makefile b/mail/queue-fix/Makefile
index 89585e38618d..114a4d82dd67 100644
--- a/mail/queue-fix/Makefile
+++ b/mail/queue-fix/Makefile
@@ -41,6 +41,10 @@ PATCHFILES+= queue-fix-todo.patch
PATCH_DIST_STRIP+= -p1
.endif
+post-patch:
+ ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ ${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
+
do-install:
@${MKDIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/queue-fix ${PREFIX}/bin