aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-08-26 00:14:58 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-08-26 00:14:58 +0800
commit0d3a14a8395fb30453dab9fa7d736dd3149e7c7e (patch)
treeb54dbe88f1393a9b7d345fa226b1c0546c1e89eb /graphics
parent0f420081afbd740244195390306f35e445ab8c4e (diff)
downloadfreebsd-ports-gnome-0d3a14a8395fb30453dab9fa7d736dd3149e7c7e.tar.gz
freebsd-ports-gnome-0d3a14a8395fb30453dab9fa7d736dd3149e7c7e.tar.zst
freebsd-ports-gnome-0d3a14a8395fb30453dab9fa7d736dd3149e7c7e.zip
- Use !${PORT_OPTIONS:Mfoo} instead of empty(PORT_OPTIONS:Mfoo)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/lcms/Makefile4
-rw-r--r--graphics/lcms2/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile
index 3f85e072bfca..3a855b3bbdc2 100644
--- a/graphics/lcms/Makefile
+++ b/graphics/lcms/Makefile
@@ -47,10 +47,10 @@ PLIST_SUB+= TIFFICC="@comment "
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| python samples||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|^testcms_LDFLAGS = .*$$|& -static|' ${WRKSRC}/testbed/Makefile.in
-.if empty(PORT_OPTIONS:MJPEGICC)
+.if !${PORT_OPTIONS:MJPEGICC}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| jpegicc||' ${WRKSRC}/Makefile.in
.endif
-.if empty(PORT_OPTIONS:MTIFFICC)
+.if !${PORT_OPTIONS:MTIFFICC}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| tifficc||' ${WRKSRC}/Makefile.in
.endif
diff --git a/graphics/lcms2/Makefile b/graphics/lcms2/Makefile
index 18af41623373..f82b25843e77 100644
--- a/graphics/lcms2/Makefile
+++ b/graphics/lcms2/Makefile
@@ -52,10 +52,10 @@ PLIST_SUB+= TIFFICC="@comment "
.endif
post-patch:
-.if empty(PORT_OPTIONS:MJPEGICC)
+.if !${PORT_OPTIONS:MJPEGICC}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| utils/jpgicc||' ${WRKSRC}/Makefile.in
.endif
-.if empty(PORT_OPTIONS:MTIFFICC)
+.if !${PORT_OPTIONS:MTIFFICC}
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| utils/tificc||' ${WRKSRC}/Makefile.in
.endif