aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-03-08 10:47:06 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-03-08 10:47:06 +0000
commit79082dd59c01255940d9f32975a484b910cc95ad (patch)
tree933dcfb7ab39803439b33a4c079a19aa10b81c60
parentee889adcc0e4c64318018d2da8ca10501ffb1f87 (diff)
downloadports-79082dd59c01255940d9f32975a484b910cc95ad.tar.gz
ports-79082dd59c01255940d9f32975a484b910cc95ad.zip
Notes
-rw-r--r--graphics/imlib2/Makefile40
1 files changed, 17 insertions, 23 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index efe4ba9cf3a8..caacf71c0e86 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -17,12 +17,10 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libfreetype.so:print/freetype2
-CONFLICTS_INSTALL= imlib2-webp
-
+USES= libtool pathfix pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-USES= libtool pathfix pkgconfig tar:bzip2
CONFIGURE_ARGS= --enable-visibility-hiding --disable-static \
--with-zlib --with-bzip2
@@ -30,38 +28,34 @@ CONFIGURE_ENV= ac_cv_lib_dl_dlopen=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS_DEFINE= JPEG PNG TIFF GIF ID3 X11 WEBP
-OPTIONS_DEFAULT= JPEG PNG TIFF GIF ID3 X11 WEBP
+CONFLICTS_INSTALL= imlib2-webp
+
+OPTIONS_DEFINE= GIF ID3 JPEG PNG TIFF WEBP X11
+OPTIONS_DEFAULT= GIF ID3 JPEG PNG TIFF WEBP X11
OPTIONS_SUB= yes
-X11_USES= xorg
-X11_USE= XORG=x11,sm,xcb,xext
-X11_CONFIGURE_ON= --with-x --with-x-shm-fd
-X11_CONFIGURE_OFF= --without-x --without-x-shm-fd
+GIF_LIB_DEPENDS= libgif.so:graphics/giflib
+GIF_CONFIGURE_WITH= gif
+
+ID3_LIB_DEPENDS= libid3tag.so:audio/libid3tag
+ID3_CONFIGURE_WITH= id3
JPEG_USES= jpeg
-JPEG_CONFIGURE_ON= --with-jpeg
-JPEG_CONFIGURE_OFF= --without-jpeg
+JPEG_CONFIGURE_WITH= jpeg
PNG_LIB_DEPENDS= libpng.so:graphics/png
-PNG_CONFIGURE_ON= --with-png
-PNG_CONFIGURE_OFF= --without-png
+PNG_CONFIGURE_WITH= png
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
-TIFF_CONFIGURE_ON= --with-tiff
-TIFF_CONFIGURE_OFF= --without-tiff
-
-GIF_LIB_DEPENDS= libgif.so:graphics/giflib
-GIF_CONFIGURE_ON= --with-gif
-GIF_CONFIGURE_OFF= --without-gif
-
-ID3_LIB_DEPENDS= libid3tag.so:audio/libid3tag
-ID3_CONFIGURE_ON= --with-id3
-ID3_CONFIGURE_OFF= --without-id3
+TIFF_CONFIGURE_WITH= tiff
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
WEBP_CONFIGURE_WITH= webp
+X11_USES= xorg
+X11_USE= XORG=x11,sm,xcb,xext
+X11_CONFIGURE_WITH= x x-shm-fd
+
.include <bsd.port.options.mk>
.if ${ARCH} == "i386" && !empty(MACHINE_CPU:Mmmx)