diff options
author | asami <asami@FreeBSD.org> | 1999-03-08 15:28:36 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-03-08 15:28:36 +0800 |
commit | 04f6beab8f8083412efad3eadf4e32bffa85bbe2 (patch) | |
tree | 907e6a967f7d00919c4dc13b6a581739f386e7ef /x11/XFree86 | |
parent | 755e63021c52f5292b5284c5d10c05274df15811 (diff) | |
download | freebsd-ports-gnome-04f6beab8f8083412efad3eadf4e32bffa85bbe2.tar.gz freebsd-ports-gnome-04f6beab8f8083412efad3eadf4e32bffa85bbe2.tar.zst freebsd-ports-gnome-04f6beab8f8083412efad3eadf4e32bffa85bbe2.zip |
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. :)
Diffstat (limited to 'x11/XFree86')
-rw-r--r-- | x11/XFree86/Makefile | 5 | ||||
-rw-r--r-- | x11/XFree86/scripts/configure | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/x11/XFree86/Makefile b/x11/XFree86/Makefile index 9352c6b6ddd5..ac891dadbfc6 100644 --- a/x11/XFree86/Makefile +++ b/x11/XFree86/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/XFree86/scripts/configure b/x11/XFree86/scripts/configure index 892ec160e629..47d2cfa64187 100644 --- a/x11/XFree86/scripts/configure +++ b/x11/XFree86/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. |