summaryrefslogtreecommitdiff
path: root/x11/xorg-server
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2005-04-15 21:53:38 +0000
committerhira <hira@pkgsrc.org>2005-04-15 21:53:38 +0000
commitaebe5711b6e08ec468ecbe9af57c5274adcbb99a (patch)
treed381cf075f43a68198266127da528f98201b3f47 /x11/xorg-server
parent27cf9999b69ab1317a68d9ec54d4f34e744b6e4f (diff)
downloadpkgsrc-aebe5711b6e08ec468ecbe9af57c5274adcbb99a.tar.gz
Add PLIST_SUBST for the ioport.
Diffstat (limited to 'x11/xorg-server')
-rw-r--r--x11/xorg-server/Makefile9
-rw-r--r--x11/xorg-server/PLIST16
2 files changed, 16 insertions, 9 deletions
diff --git a/x11/xorg-server/Makefile b/x11/xorg-server/Makefile
index bf5fc76ee6b..d02a800087f 100644
--- a/x11/xorg-server/Makefile
+++ b/x11/xorg-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2005/04/15 21:33:27 hira Exp $
+# $NetBSD: Makefile,v 1.25 2005/04/15 21:53:38 hira Exp $
DISTNAME= ${DISTFILES}
PKGNAME= xorg-server-${XORG_VER}
@@ -65,6 +65,13 @@ PLIST_SUBST+= SCANPCI=
PLIST_SUBST+= SCANPCI='@comment '
.endif
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha" || \
+ ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "x86_64"
+PLIST_SUBST+= IOPORT=
+.else
+PLIST_SUBST+= IOPORT='@comment '
+.endif
+
post-install:
@${SED} ${XORG_PLIST_SED} ${PKGDIR}/PLIST > ${PLIST_SRC}
.if ${OPSYS} == "Darwin"
diff --git a/x11/xorg-server/PLIST b/x11/xorg-server/PLIST
index 1f7b24fd05c..7b41e10016d 100644
--- a/x11/xorg-server/PLIST
+++ b/x11/xorg-server/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2005/04/15 21:33:27 hira Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/04/15 21:53:38 hira Exp $
${X11ROOT_PREFIX}/bin/X
${X11ROOT_PREFIX}/bin/Xnest
${X11ROOT_PREFIX}/bin/Xprt
@@ -998,15 +998,15 @@ ${X11ROOT_PREFIX}/bin/Xorg
${X11ROOT_PREFIX}/bin/getconfig
${X11ROOT_PREFIX}/bin/getconfig.pl
${X11ROOT_PREFIX}/bin/gtf
-${X11ROOT_PREFIX}/bin/inb
-${X11ROOT_PREFIX}/bin/inl
-${X11ROOT_PREFIX}/bin/inw
-${X11ROOT_PREFIX}/bin/ioport
+${IOPORT}${X11ROOT_PREFIX}/bin/inb
+${IOPORT}${X11ROOT_PREFIX}/bin/inl
+${IOPORT}${X11ROOT_PREFIX}/bin/inw
+${IOPORT}${X11ROOT_PREFIX}/bin/ioport
${X11ROOT_PREFIX}/bin/mmapr
${X11ROOT_PREFIX}/bin/mmapw
-${X11ROOT_PREFIX}/bin/outb
-${X11ROOT_PREFIX}/bin/outl
-${X11ROOT_PREFIX}/bin/outw
+${IOPORT}${X11ROOT_PREFIX}/bin/outb
+${IOPORT}${X11ROOT_PREFIX}/bin/outl
+${IOPORT}${X11ROOT_PREFIX}/bin/outw
${X11ROOT_PREFIX}/bin/pcitweak
${SCANPCI}${X11ROOT_PREFIX}/bin/scanpci
${X11ROOT_PREFIX}/bin/xorgcfg