summaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-libraries
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-29 01:39:58 +0000
committerasami <asami@FreeBSD.org>2000-09-29 01:39:58 +0000
commitab01c82a5418d6d61db07ad72550bac8c29518e5 (patch)
treecc31a929f497138d42d92daf244a7e4d7e20105f /x11/XFree86-4-libraries
parentde971d2019740755e9dc9526b453aeb3aa26ab23 (diff)
downloadFreeBSD-ports-ab01c82a5418d6d61db07ad72550bac8c29518e5.zip
FreeBSD-ports-ab01c82a5418d6d61db07ad72550bac8c29518e5.tar.gz
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/XFree86-4-libraries')
-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 7232708..6ea4e62 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 76dcf6b..0c83f2b 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
OpenPOWER on IntegriCloud