summaryrefslogtreecommitdiff
path: root/devel/djgpp-gcc
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2007-07-28 06:33:59 +0000
committerAde Lovett <ade@FreeBSD.org>2007-07-28 06:33:59 +0000
commit3b3128196e8706c3616c88df7206b4a27f7b8959 (patch)
tree31433c1d06ed5be6756933b97f6d80a77f17b710 /devel/djgpp-gcc
parentUpdate to SRC680_m222. (diff)
Update to the autotools new world order.
Tested by: numerous package build runs Approved by: portmgr Thanks to: des, kris, linimon, pav
Notes
Notes: svn path=/head/; revision=196437
Diffstat (limited to 'devel/djgpp-gcc')
-rw-r--r--devel/djgpp-gcc/Makefile7
-rw-r--r--devel/djgpp-gcc/scripts/pre-configure16
2 files changed, 13 insertions, 10 deletions
diff --git a/devel/djgpp-gcc/Makefile b/devel/djgpp-gcc/Makefile
index e58bc2b93211..29fb2817d84e 100644
--- a/devel/djgpp-gcc/Makefile
+++ b/devel/djgpp-gcc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gcc
PORTVERSION= ${GCCVERSION}
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/:djsource \
ftp://ftp.mirror.ac.uk/sites/www.delorie.com/current/v2gnu/:djsource \
@@ -27,9 +28,9 @@ COMMENT= FSF gcc-4.1 for DJGPP cross-development
BUILD_DEPENDS= ${TARGET}-as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
${LOCALBASE}/${TARGET}/bin/stubify:${PORTSDIR}/devel/${PKGNAMEPREFIX}crx \
- autoconf213:${PORTSDIR}/devel/autoconf213 \
- autoconf259:${PORTSDIR}/devel/autoconf259 \
- aclocal19:${PORTSDIR}/devel/automake19
+ autoconf-2.13:${PORTSDIR}/devel/autoconf213 \
+ autoconf-2.59:${PORTSDIR}/devel/autoconf259 \
+ aclocal-1.9:${PORTSDIR}/devel/automake19
.if defined(WITH_FORTRAN)
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
mpfr.1:${PORTSDIR}/math/mpfr
diff --git a/devel/djgpp-gcc/scripts/pre-configure b/devel/djgpp-gcc/scripts/pre-configure
index fd75b3c1c1a7..9aa1256537a9 100644
--- a/devel/djgpp-gcc/scripts/pre-configure
+++ b/devel/djgpp-gcc/scripts/pre-configure
@@ -1,9 +1,11 @@
#! /bin/sh
-AUTOCONF_OLD=autoconf213
-AUTOHEADER_OLD=autoheader213
-AUTOCONF=autoconf259
-AUTOHEADER=autoheader259
+AUTOCONF_OLD=autoconf-2.13
+AUTOHEADER_OLD=autoheader-2.13
+AUTOCONF=autoconf-2.59
+AUTOHEADER=autoheader-2.59
+ACLOCAL=aclocal-1.9
+AUTOMAKE=automake-1.9
#
# List of directories in which we should run autoconf or/and automake
@@ -52,8 +54,8 @@ done
#
# Run aclocal where needed
#
-( cd $gcc_dir/libgfortran && aclocal19 -I ../config || exit 1)
-( cd $gcc_dir/libstdc++-v3 && aclocal19 -I . -I .. -I ../config || exit 1)
+( cd $gcc_dir/libgfortran && ${ACLOCAL} -I ../config || exit 1)
+( cd $gcc_dir/libstdc++-v3 && ${ACLOCAL} -I . -I .. -I ../config || exit 1)
#for dir in $aclocal_list ; do
# if cd $dir ; then
@@ -85,7 +87,7 @@ for dir in $automake_list; do
fi
fi
echo "Running automake..."
- if ! automake19; then
+ if ! ${AUTOMAKE}; then
echo "automake failed in directory `pwd`"
cd $top
exit 1