aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-08-23 13:13:26 +0000
committerJohn Marino <marino@FreeBSD.org>2014-08-23 13:13:26 +0000
commitf0ab4465c8a9d1f7953e3e7a3051dffb06f3496b (patch)
treef1d075df1a43317604d5d155b3fc6a0bc1dfe567
parent3e959943f573654eeffd31a84049f25748088df3 (diff)
security/xzid: suppress broken and unnecesary missing target check
Line 606 of the vendor Makefile has a malformed error message that comes up if the makefile is given no target. For reasons I don't understand, the gmake on FreeBSD tolerates it and the same exact gmake on DragonFly catches it. Just amend the sed command the remove the line completely as it's never executed in the ports framework.
Notes
Notes: svn path=/head/; revision=365728
-rw-r--r--security/zxid/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/zxid/Makefile b/security/zxid/Makefile
index aff358a2092e..289e61b84ce9 100644
--- a/security/zxid/Makefile
+++ b/security/zxid/Makefile
@@ -40,6 +40,7 @@ post-patch:
@${REINPLACE_CMD} -e \
'/^LIBS/s|-lpthread|-pthread| ; \
/^SHARED/s|--export-all-symbols|| ; \
+ /..error /d ; \
/which gcc/d' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/zxidconf.c