aboutsummaryrefslogtreecommitdiff
path: root/comms/gsmlib
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/gsmlib
parent01977fcaeadf6fa6fe54d180a7f6ec93d5742226 (diff)
downloadports-c1a0f8ede9b1500fbfeeddd49e14619623f520ad.tar.gz
ports-c1a0f8ede9b1500fbfeeddd49e14619623f520ad.zip
Notes
Diffstat (limited to 'comms/gsmlib')
-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>