diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-08-21 18:41:16 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-08-21 18:41:16 +0000 |
commit | f90eb2e6147b0f69d42640125304a28f39faee37 (patch) | |
tree | c737fa09900ea29f325c69758476eab53260de21 /textproc/nunnimcax | |
parent | 78bf230c2c359d7b50f61dc2c33b88d86701d438 (diff) | |
download | ports-f90eb2e6147b0f69d42640125304a28f39faee37.tar.gz ports-f90eb2e6147b0f69d42640125304a28f39faee37.zip |
Notes
Diffstat (limited to 'textproc/nunnimcax')
-rw-r--r-- | textproc/nunnimcax/Makefile | 8 | ||||
-rw-r--r-- | textproc/nunnimcax/files/Makefile | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/textproc/nunnimcax/Makefile b/textproc/nunnimcax/Makefile index 226ad32102f1..2f9de88e3230 100644 --- a/textproc/nunnimcax/Makefile +++ b/textproc/nunnimcax/Makefile @@ -9,8 +9,11 @@ MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= C, non validating XML parser with SAX-like API +USES= uidfix USE_LDCONFIG= YES SHLIB_MAJOR= 2 +MAKEFILE= ${FILESDIR}/Makefile +MAKE_ENV= SHLIB_MAJOR=${SHLIB_MAJOR} PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" .if defined(NOPROFILE) || defined(NO_PROFILE) @@ -19,9 +22,4 @@ PLIST_SUB+= PROFILE="@comment " PLIST_SUB+= PROFILE="" .endif -post-patch: - ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev - @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ - ${FILESDIR}/Makefile > ${WRKSRC}/Makefile - .include <bsd.port.mk> diff --git a/textproc/nunnimcax/files/Makefile b/textproc/nunnimcax/files/Makefile index 4cebe7e7751a..01c013293dfb 100644 --- a/textproc/nunnimcax/files/Makefile +++ b/textproc/nunnimcax/files/Makefile @@ -4,8 +4,6 @@ LIB = NunniMCAX SRCS= NunniCXMLParser.c NunniCXMLParserFSM.c NunniHashtable.c NunniStack.c INCS= NunniMCAX.h -SHLIB_MAJOR= %%SHLIB_MAJOR%% - LIBDIR= ${PREFIX}/lib INCLUDEDIR= ${PREFIX}/include |