diff options
-rw-r--r-- | security/libtasn1/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile index d8e439204f17..31aa70fe3ceb 100644 --- a/security/libtasn1/Makefile +++ b/security/libtasn1/Makefile @@ -20,19 +20,11 @@ COMMENT= ASN.1 structure parser library USE_REINPLACE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +USE_GETOPT_LONG= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} DOCS= AUTHORS NEWS README THANKS doc/asn1.ps doc/asn1.tex doc/fdl.tex -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500041 -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt -.endif - post-patch: .for file in asn1Coding.c asn1Decoding.c asn1Parser.c ${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file} @@ -46,4 +38,4 @@ post-install: .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |