summaryrefslogtreecommitdiff
path: root/x11-servers/XFree86-4-Server-snap/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-03-19 18:22:49 +0000
committerWill Andrews <will@FreeBSD.org>2002-03-19 18:22:49 +0000
commit4b15967b617058860abddc58a287bc98961f599e (patch)
tree690cb8e3488268061035b072f57261cdbbefc30e /x11-servers/XFree86-4-Server-snap/Makefile
parentUpdate to version 1.4.2. (diff)
Fix alpha package -- some files are not installed when MACHINE_ARCH=alpha.
No PORTREVISION bump -- package for alpha didn't build last time and for all other arches nothing changes. Tested on i386 only. This also fixes the logic error which added MATROX files to pkg-plist if BuildXF86DRI was set to NO. Submitted by: gallatin
Notes
Notes: svn path=/head/; revision=56348
Diffstat (limited to 'x11-servers/XFree86-4-Server-snap/Makefile')
-rw-r--r--x11-servers/XFree86-4-Server-snap/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile
index 2b1a0e60db34..7b8ec43ddec4 100644
--- a/x11-servers/XFree86-4-Server-snap/Makefile
+++ b/x11-servers/XFree86-4-Server-snap/Makefile
@@ -44,7 +44,6 @@ MAN1= XFree86.1 \
Xserver.1 \
kbd_mode.1 \
pcitweak.1 \
- scanpci.1 \
xf86cfg.1 \
xf86config.1
MAN3= XF86VidMode.3 \
@@ -70,7 +69,6 @@ MAN4= mga.4 \
nv.4 \
siliconmotion.4 \
vga.4 \
- vmware.4 \
keyboard.4 \
mouse.4
MAN5= XF86Config.5
@@ -108,6 +106,15 @@ PLIST_SUB+= DRI="@comment "
PLIST_SUB+= DRI_KMOD="@comment "
.endif # have /sys
+# Some things are not applicable if this machine is an alpha
+.if ${ARCH} == alpha
+PLIST_SUB+= ALPHA_NA="@comment "
+.else
+PLIST_SUB+= ALPHA_NA=""
+MAN1+= scanpci.1
+MAN4+= vmware.4
+.endif
+
.if ${ARCH} == i386
PLIST_SUB+= I386:=""
MAN4+= apm.4 \
@@ -184,6 +191,7 @@ post-install::
.endif # !WITH_MATROX_GXX_DRIVER
.else
HaveMatroxHal= NO
+PLIST_SUB+= MATROX="@comment "
.endif
do-configure: