aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-01-22 12:03:26 +0800
committerdinoex <dinoex@FreeBSD.org>2004-01-22 12:03:26 +0800
commit5b60d92a22866ebaa748ec94a2497461ee2fc65c (patch)
treee5d7a61a5caf108bd4f50b0fb8147aa1d452f32d
parentb9a8a8089d9896dec48e095bf965a6ed18a57c34 (diff)
downloadfreebsd-ports-gnome-5b60d92a22866ebaa748ec94a2497461ee2fc65c.tar.gz
freebsd-ports-gnome-5b60d92a22866ebaa748ec94a2497461ee2fc65c.tar.zst
freebsd-ports-gnome-5b60d92a22866ebaa748ec94a2497461ee2fc65c.zip
- Fix USE_GHOSTSCRIPT and option WITHOUT_GHOSTSCRIPT
-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>