diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-18 05:38:50 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-18 05:38:50 +0000 |
commit | 10acb9cb4955ab3062d7419b2120910c1695a3fb (patch) | |
tree | 34587170269deb4c2b8ae043dbb83a8756536a78 /security/libtasn1 | |
parent | bfca05634991583481b56a7914fc24ea329cebe8 (diff) | |
download | ports-10acb9cb4955ab3062d7419b2120910c1695a3fb.tar.gz ports-10acb9cb4955ab3062d7419b2120910c1695a3fb.zip |
[MAINTAINER] security/libtasn1: convert to USE_GETOPT_LONG
Convert to USE_GETOPT_LONG=yes
Tested on: 4.8-STABLE, 5.0-CURRENT
PR: ports/51093
Submitted by: Sergei Kolobov <sergei@kolobov.com>
Notes
Notes:
svn path=/head/; revision=79189
Diffstat (limited to 'security/libtasn1')
-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> |