aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 05:27:39 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-09-19 05:59:46 +0000
commit71add8a9237d1656914f67269a0af54a477a8e0a (patch)
tree3160d7b9e8e16b61b9fe78e540c4779eea306b82
parent59e356e60c4a3d38cfdcf91b939c2b6459e34ca4 (diff)
downloadports-71add8a9237d1656914f67269a0af54a477a8e0a.tar.gz
ports-71add8a9237d1656914f67269a0af54a477a8e0a.zip
graphics/jbig2dec: Use CONFIGURE_WITH helper
-rw-r--r--graphics/jbig2dec/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile
index 754e4ee70f35..5ec8f84fb5f9 100644
--- a/graphics/jbig2dec/Makefile
+++ b/graphics/jbig2dec/Makefile
@@ -15,13 +15,13 @@ CONFIGURE_ENV= ac_cv_func_getopt_long=yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+
CPE_VENDOR= artifex
OPTIONS_DEFINE= PNG
OPTIONS_DEFAULT=PNG
-PNG_CONFIGURE_OFF= --without-libpng
-PNG_CONFIGURE_ON= --with-libpng=${LOCALBASE}
+PNG_CONFIGURE_WITH= libpng=${LOCALBASE}
PNG_LIB_DEPENDS= libpng.so:graphics/png
post-patch: