aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-04-26 22:32:46 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-04-26 22:32:46 +0000
commite921a63f74ebbb89c9b6ef10b84bd4134443d4ac (patch)
tree68108cf5e7bfe112fd5c299ac79ec1dd6d43a364 /comms
parentced4d925040947e68f27eacb0e189d7f05bfb2d6 (diff)
downloadports-e921a63f74ebbb89c9b6ef10b84bd4134443d4ac.tar.gz
ports-e921a63f74ebbb89c9b6ef10b84bd4134443d4ac.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/gsmlib/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
index 8db3d6001879..0960e5c07f35 100644
--- a/comms/gsmlib/Makefile
+++ b/comms/gsmlib/Makefile
@@ -16,6 +16,7 @@ COMMENT= A library to access GSM mobile phones through GSM modems
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
+USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
@@ -31,11 +32,6 @@ CPPFLAGS= -I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT \
${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-LDFLAGS+= -lgnugetopt
-.endif
-
post-patch:
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'