[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>
This commit is contained in:
parent
bfca056349
commit
10acb9cb49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79189
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user