aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-29 09:39:58 +0800
committerasami <asami@FreeBSD.org>2000-09-29 09:39:58 +0800
commitab01c82a5418d6d61db07ad72550bac8c29518e5 (patch)
treecc31a929f497138d42d92daf244a7e4d7e20105f /x11
parentde971d2019740755e9dc9526b453aeb3aa26ab23 (diff)
downloadfreebsd-ports-gnome-ab01c82a5418d6d61db07ad72550bac8c29518e5.tar.gz
freebsd-ports-gnome-ab01c82a5418d6d61db07ad72550bac8c29518e5.tar.zst
freebsd-ports-gnome-ab01c82a5418d6d61db07ad72550bac8c29518e5.zip
Don't try to package libOSMesa for FreeBSD versions < 4.1, since they
are skipped in the build. We can package XFree86-4-lib in 3-stable again! Reviewed by: maintainer
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-4-libraries/Makefile11
-rw-r--r--x11/XFree86-4-libraries/pkg-plist4
2 files changed, 12 insertions, 3 deletions
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile
index 72327083fd8e..6ea4e62d1dae 100644
--- a/x11/XFree86-4-libraries/Makefile
+++ b/x11/XFree86-4-libraries/Makefile
@@ -34,6 +34,15 @@ MANCOMPRESSED= yes
MAN1= libxrx.1
MAN3= Xaw.3
+.include <bsd.port.pre.mk>
+
+# BuildXF86DRI is false for FreeBSD < 4.1
+.if ${OSVERSION} < 410000
+PLIST_SUB+= OSMESA:="@comment "
+.else
+PLIST_SUB+= OSMESA:=""
+.endif
+
.if defined(XDM_DES)
.if ${USA_RESIDENT} == YES
pre-fetch:
@@ -49,4 +58,4 @@ IGNOREFILES= Wraphelp.c
.endif
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11/XFree86-4-libraries/pkg-plist b/x11/XFree86-4-libraries/pkg-plist
index 76dcf6bcd28d..0c83f2b2570a 100644
--- a/x11/XFree86-4-libraries/pkg-plist
+++ b/x11/XFree86-4-libraries/pkg-plist
@@ -459,8 +459,8 @@ lib/libGL.so.1
lib/libICE.a
lib/libICE.so
lib/libICE.so.6
-lib/libOSMesa.so
-lib/libOSMesa.so.3
+%%OSMESA:%%lib/libOSMesa.so
+%%OSMESA:%%lib/libOSMesa.so.3
lib/libPEX5.a
lib/libPEX5.so
lib/libPEX5.so.6