summaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-03-08 07:28:36 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-03-08 07:28:36 +0000
commite244b8bcccf929bfb91b2bc9027c62bc28d342ad (patch)
treeca87e050de03316d0e07487ad68cd159a62ba2e8 /x11-servers
parent(1) Change FETCH_CMD to add the -A flag, so it won't be confused by the (diff)
Fix to make ports work with bsd.port.mk rev. 1.306.
${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if GNU_CONFIGURE is defined. Take the target out of CONFIGURE_ARGS of some ports that added it explicitly; define it as ${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part; define it as something else (such as ${MACHINE_ARCH}--freebsdelf if the port requires that; define it as an empty string if the port doesn't like it at all. The last might be a sign that a GNU_CONFIGURE port actually doesn't use GNU's version of configure at all; but I don't have time to go look at them all, we'll fix them as time goes on. At least we've got much fewer "-unknown-"s in the tree as the result. :)
Notes
Notes: svn path=/head/; revision=17053
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/XFree86-4-Server-snap/Makefile5
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure2
-rw-r--r--x11-servers/XFree86-4-Server/Makefile5
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure2
-rw-r--r--x11-servers/XttXF86srv-common/Makefile6
5 files changed, 13 insertions, 7 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile
index 9352c6b6ddd5..ac891dadbfc6 100644
--- a/x11-servers/XFree86-4-Server-snap/Makefile
+++ b/x11-servers/XFree86-4-Server-snap/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 January 1995
# Whom: jmz
#
-# $Id: Makefile,v 1.51 1999/01/11 19:07:14 jmz Exp $
+# $Id: Makefile,v 1.52 1999/01/27 18:32:15 fenner Exp $
#
DISTNAME= xc
@@ -31,6 +31,7 @@ ALL_TARGET= World
INSTALL_TARGET= install install.man
DIST_SUBDIR= xc
PATCH_DIST_ARGS=-p0 -E -d ${WRKDIR} --quiet
+SCRIPTS_ENV= OSVERSION=${OSVERSION}
# can't use USE_X_PREFIX here -- it will cause a circular dependency
PREFIX= ${X11BASE}
MTREE_FILE= /etc/mtree/BSD.x11.dist
@@ -39,6 +40,8 @@ SCRIPTS_ENV+= MACHINE=pc98
PLIST= ${PKGDIR}/PLIST.pc98
.endif
+PLIST= ${PKGDIR}/PLIST.stripped
+
.if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO)
pre-fetch:
@${ECHO}
diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure
index 892ec160e629..47d2cfa64187 100644
--- a/x11-servers/XFree86-4-Server-snap/scripts/configure
+++ b/x11-servers/XFree86-4-Server-snap/scripts/configure
@@ -230,7 +230,7 @@ else
ELF=no
fi
-if [ ! `uname -r|grep ^2` ]; then
+if [ ${OSVERSION} -ge 300000 ]; then
cat <<'END'
FreeBSD-3.x has support for Secure RPC.
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index 9352c6b6ddd5..ac891dadbfc6 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 January 1995
# Whom: jmz
#
-# $Id: Makefile,v 1.51 1999/01/11 19:07:14 jmz Exp $
+# $Id: Makefile,v 1.52 1999/01/27 18:32:15 fenner Exp $
#
DISTNAME= xc
@@ -31,6 +31,7 @@ ALL_TARGET= World
INSTALL_TARGET= install install.man
DIST_SUBDIR= xc
PATCH_DIST_ARGS=-p0 -E -d ${WRKDIR} --quiet
+SCRIPTS_ENV= OSVERSION=${OSVERSION}
# can't use USE_X_PREFIX here -- it will cause a circular dependency
PREFIX= ${X11BASE}
MTREE_FILE= /etc/mtree/BSD.x11.dist
@@ -39,6 +40,8 @@ SCRIPTS_ENV+= MACHINE=pc98
PLIST= ${PKGDIR}/PLIST.pc98
.endif
+PLIST= ${PKGDIR}/PLIST.stripped
+
.if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO)
pre-fetch:
@${ECHO}
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index 892ec160e629..47d2cfa64187 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/scripts/configure
@@ -230,7 +230,7 @@ else
ELF=no
fi
-if [ ! `uname -r|grep ^2` ]; then
+if [ ${OSVERSION} -ge 300000 ]; then
cat <<'END'
FreeBSD-3.x has support for Secure RPC.
diff --git a/x11-servers/XttXF86srv-common/Makefile b/x11-servers/XttXF86srv-common/Makefile
index da535b7ee598..5d97eef71614 100644
--- a/x11-servers/XttXF86srv-common/Makefile
+++ b/x11-servers/XttXF86srv-common/Makefile
@@ -3,14 +3,14 @@
# Date created: 15 April 1998
# Whom: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
#
-# $Id: Makefile,v 1.14 1999/01/04 20:42:33 sada Exp $
+# $Id: Makefile,v 1.15 1999/01/15 09:49:34 asami Exp $
#
DISTNAME= xc
PKGNAME?= xtt-common-1.1
CATEGORIES= x11
-MASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/3.3.3/source/ \
- ftp://xfree86.cdrom.com/pub/XFree86/3.3.3/source/ \
+MASTER_SITES= ftp://xfree86.cdrom.com/pub/XFree86/3.3.3/source/ \
+ ftp://ftp.xfree86.org/pub/XFree86/3.3.3/source/ \
http://hawk.ise.chuo-u.ac.jp/student/person/tshiozak/x-tt/dists/1.x/
DISTFILES= X333src-1.tgz X333src-2.tgz \
xtt-1.1.tar.gz xttdoc11-to-pl01.diff.gz