pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xorg-server Add PLIST_SUBST for the ioport.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45ccb1bad4cc
branches:  trunk
changeset: 492583:45ccb1bad4cc
user:      hira <hira%pkgsrc.org@localhost>
date:      Fri Apr 15 21:53:38 2005 +0000

description:
Add PLIST_SUBST for the ioport.

diffstat:

 x11/xorg-server/Makefile |   9 ++++++++-
 x11/xorg-server/PLIST    |  16 ++++++++--------
 2 files changed, 16 insertions(+), 9 deletions(-)

diffs (55 lines):

diff -r 02219e388b4b -r 45ccb1bad4cc x11/xorg-server/Makefile
--- a/x11/xorg-server/Makefile  Fri Apr 15 21:33:27 2005 +0000
+++ b/x11/xorg-server/Makefile  Fri Apr 15 21:53:38 2005 +0000
@@ -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='@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 -r 02219e388b4b -r 45ccb1bad4cc x11/xorg-server/PLIST
--- a/x11/xorg-server/PLIST     Fri Apr 15 21:33:27 2005 +0000
+++ b/x11/xorg-server/PLIST     Fri Apr 15 21:53:38 2005 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index