aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-01-23 02:34:34 +0800
committeroliver <oliver@FreeBSD.org>2004-01-23 02:34:34 +0800
commitd733a223615fc79d41d03775ada052d6ce170c0b (patch)
tree8ea983f9821818e29da70f823f7f83e607e1d294 /lang
parente813175875c3fde2d92bcc0bf334c87dc5863d42 (diff)
downloadfreebsd-ports-gnome-d733a223615fc79d41d03775ada052d6ce170c0b.tar.gz
freebsd-ports-gnome-d733a223615fc79d41d03775ada052d6ce170c0b.tar.zst
freebsd-ports-gnome-d733a223615fc79d41d03775ada052d6ce170c0b.zip
fix pkg-plist
Noted By: kris
Diffstat (limited to 'lang')
-rw-r--r--lang/sr/Makefile7
-rw-r--r--lang/sr/pkg-plist2
2 files changed, 8 insertions, 1 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile
index dea0ed01e1c5..98377538fc33 100644
--- a/lang/sr/Makefile
+++ b/lang/sr/Makefile
@@ -26,6 +26,13 @@ MAN1 = sr.1 srl.1 srm.1 srprof.1 srtex.1 srlatex.1 srgrind.1 \
MAN3 = sranimator.3 srgetopt.3 srwin.3
MAN5 = srmap.5 srtrace.5
+.if defined(WITHOUT_X11)
+PLIST_SUB+= X11="@comment "
+.else
+PLIST_SUB+= X11=""
+USE_XLIB= yes
+.endif
+
.include <bsd.port.pre.mk>
pre-install:
diff --git a/lang/sr/pkg-plist b/lang/sr/pkg-plist
index bf19921adea2..8c8f31010454 100644
--- a/lang/sr/pkg-plist
+++ b/lang/sr/pkg-plist
@@ -26,7 +26,7 @@ lib/sr/srlatex.sty
lib/sr/srlib.a
lib/sr/srmap
lib/sr/srmulti.h
-lib/sr/srwin.o
+%%X11%%lib/sr/srwin.o
lib/sr/srx
%%PORTDOCS%%%%DOCSDIR%%/notes/Memory
%%PORTDOCS%%%%DOCSDIR%%/notes/Questions