summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-08-16 02:33:05 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-08-16 02:33:05 +0000
commitc1a0f8ede9b1500fbfeeddd49e14619623f520ad (patch)
treeda64bfdf1b4f9333a4a03d016667a79a61bbe190 /comms
parentDon't check the base system when PACKAGE_BUILDING (diff)
BROKEN on 5.x: Does not compile with gcc 3.4.2
Notes
Notes: svn path=/head/; revision=116340
Diffstat (limited to 'comms')
-rw-r--r--comms/gsmlib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
index f086806a46f7..9c7c60b99f3c 100644
--- a/comms/gsmlib/Makefile
+++ b/comms/gsmlib/Makefile
@@ -39,8 +39,14 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-patch:
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>