aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gworkspace
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gworkspace')
-rw-r--r--deskutils/gworkspace/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/deskutils/gworkspace/Makefile b/deskutils/gworkspace/Makefile
index 4ac986643fff..3f399743beec 100644
--- a/deskutils/gworkspace/Makefile
+++ b/deskutils/gworkspace/Makefile
@@ -27,10 +27,11 @@ USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
MAKEFILE= GNUmakefile
-.ifdef USE_GHOSTSCRIPT
-PLIST_SUB+= PDFVIEW=""
-.else
+.if defined(WITHOUT_GHOSTSCRIPT)
PLIST_SUB+= PDFVIEW="@comment "
+.else
+PLIST_SUB+= PDFVIEW=""
+USE_GHOSTSCRIPT= yes
.endif
.include <bsd.port.mk>