aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/libmng/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile
index d67d6eb72abd..5f41968c0e6f 100644
--- a/graphics/libmng/Makefile
+++ b/graphics/libmng/Makefile
@@ -21,23 +21,16 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
OPTIONS= MNG_OPTIMIZE "Use vendor's new optimization flags" no
-REINPLACE_ARGS= -i ""
MAKEFILE= ${FILESDIR}/Makefile.bsd
-MAKE_ARGS+= -j2 WITH_MNG_OPTIMIZE=${WITH_MNG_OPTIMIZE}
+MAKE_ARGS+= WITH_MNG_OPTIMIZE=${WITH_MNG_OPTIMIZE}
+MAKE_JOBS_SAFE= yes
+#USE_BZIP2= yes # Please, uncomment on next upgrade
USE_LDCONFIG= yes
MAN3= libmng.3
MAN5= mng.5 jng.5
-post-extract:
- #
- # Getting rid of the DOS-style end-of-lines left by the vendor
- #
- ${FIND} ${WRKSRC} -type f | ${XARGS} ${FILE} | \
- ${AWK} -F: '/CRLF/ { print $$1 }' | \
- ${XARGS} ${REINPLACE_CMD} -Ee 's,[[:space:]]+$$,,'
-
post-install:
cd ${WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3 \
&& ${INSTALL_MAN} ${MAN5} ${PREFIX}/man/man5