aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-07 07:01:46 +0800
committereadler <eadler@FreeBSD.org>2012-10-07 07:01:46 +0800
commitcae29f1c89066b7b856c5dba2f40b9f1a19d6f8c (patch)
tree3e88bcb31c22754491d1c2feccec4a86cb1f113e
parentb0d9d492b255aceece89c5e3ef84aec42d8eee44 (diff)
downloadfreebsd-ports-gnome-cae29f1c89066b7b856c5dba2f40b9f1a19d6f8c.tar.gz
freebsd-ports-gnome-cae29f1c89066b7b856c5dba2f40b9f1a19d6f8c.tar.zst
freebsd-ports-gnome-cae29f1c89066b7b856c5dba2f40b9f1a19d6f8c.zip
Correct logic from OptionsNG conversion.
Pointhat to: me
-rw-r--r--deskutils/orage/Makefile2
-rw-r--r--print/xfce4-print/Makefile7
-rw-r--r--x11-fm/thunar-vfs/Makefile6
3 files changed, 7 insertions, 8 deletions
diff --git a/deskutils/orage/Makefile b/deskutils/orage/Makefile
index 9c1c537a8d76..a420dad2d0f4 100644
--- a/deskutils/orage/Makefile
+++ b/deskutils/orage/Makefile
@@ -75,7 +75,7 @@ post-patch:
s|%%BDB_LIB_DIR%%|${BDB_LIB_DIR}|g ; \
s|%%BDB_LIB_NAME%%|${BDB_LIB_NAME}|g' ${WRKSRC}/configure
.endif
-.if ${PORT_OPTIONS:MICAL}
+.if empty(PORT_OPTIONS:MICAL)
@${REINPLACE_CMD} -e 's|libical-|no-&|g' ${WRKSRC}/configure
.endif
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure
diff --git a/print/xfce4-print/Makefile b/print/xfce4-print/Makefile
index 4e5ae59808dc..f2c5b85b5533 100644
--- a/print/xfce4-print/Makefile
+++ b/print/xfce4-print/Makefile
@@ -40,14 +40,13 @@ PLIST_SUB+= CUPS="@comment "
.endif
.if ${PORT_OPTIONS:MLPR}
-CONFIGURE_ARGS+=--disable-bsdlpr
-PLIST_SUB+= LPR="@comment "
-.else
CONFIGURE_ARGS+=--enable-bsdlpr --with-printcap=/etc/printcap
PLIST_SUB+= LPR=""
+.else
+CONFIGURE_ARGS+=--disable-bsdlpr
+PLIST_SUB+= LPR="@comment "
.endif
-
.if ${PORT_OPTIONS:MLETTER}
CONFIGURE_ARGS+=--enable-letter
BUILD_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter
diff --git a/x11-fm/thunar-vfs/Makefile b/x11-fm/thunar-vfs/Makefile
index 27af58e50484..9bee2b5606dd 100644
--- a/x11-fm/thunar-vfs/Makefile
+++ b/x11-fm/thunar-vfs/Makefile
@@ -75,11 +75,11 @@ CONFIGURE_ARGS+=--disable-gnome-thumbnailers
.endif
.if ${PORT_OPTIONS:MAPIDOCS}
-CONFIGURE_ARGS+=--without-html-dir
-PLIST_SUB+= APIDOCS="@comment "
-.else
CONFIGURE_ARGS+=--with-html-dir=${PREFIX}/share/gtk-doc/html
PLIST_SUB+= APIDOCS=""
+.else
+CONFIGURE_ARGS+=--without-html-dir
+PLIST_SUB+= APIDOCS="@comment "
.endif
post-patch: