aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs20
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-03-08 15:28:36 +0800
committerasami <asami@FreeBSD.org>1999-03-08 15:28:36 +0800
commit04f6beab8f8083412efad3eadf4e32bffa85bbe2 (patch)
tree907e6a967f7d00919c4dc13b6a581739f386e7ef /editors/emacs20
parent755e63021c52f5292b5284c5d10c05274df15811 (diff)
downloadfreebsd-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 'editors/emacs20')
-rw-r--r--editors/emacs20/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile
index e5b75720ec8e..6680c65dc938 100644
--- a/editors/emacs20/Makefile
+++ b/editors/emacs20/Makefile
@@ -3,7 +3,7 @@
# Date created: 29 October 1994
# Whom: jkh
#
-# $Id: Makefile,v 1.37 1999/01/27 07:41:11 fenner Exp $
+# $Id: Makefile,v 1.38 1999/03/01 11:55:45 shige Exp $
#
DISTNAME= emacs-20.3
@@ -16,12 +16,12 @@ MAINTAINER= jseger@FreeBSD.org
USE_AUTOCONF= yes
USE_XLIB= yes
USE_GMAKE= yes
-EMACS_ARCH= ${MACHINE_ARCH}--freebsd
-CONFIGURE_ARGS= ${EMACS_ARCH} --with-x-toolkit --with-pop
+CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
+CONFIGURE_ARGS= --with-x-toolkit --with-pop
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
MAN1= emacs.1 etags.1 ctags.1
-PLIST_SUB= EMACS_VER=20.3 EMACS_ARCH=${EMACS_ARCH}
+PLIST_SUB= EMACS_VER=20.3 EMACS_ARCH=${CONFIGURE_TARGET}
.if defined(USE_XPGLIB)
.if (${USE_XPGLIB} == "YES")