aboutsummaryrefslogtreecommitdiff
path: root/devel/allegro
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-01-07 04:07:09 +0000
committerWill Andrews <will@FreeBSD.org>2002-01-07 04:07:09 +0000
commit4721579854b20c04a135d3ab13c28ee00ad7e08a (patch)
tree0d9b308ce0df1c727514fbe2c37ad3bd6d1a2378 /devel/allegro
parentcc795e5b91b4bd040dd57ff71f9d90801c64e77e (diff)
downloadports-4721579854b20c04a135d3ab13c28ee00ad7e08a.tar.gz
ports-4721579854b20c04a135d3ab13c28ee00ad7e08a.zip
Allow this port to support arbitrary versions of autoconf.
Submitted by: bento 4-exp
Notes
Notes: svn path=/head/; revision=52684
Diffstat (limited to 'devel/allegro')
-rw-r--r--devel/allegro/Makefile6
-rw-r--r--devel/allegro/files/patch-makefile.in9
2 files changed, 5 insertions, 10 deletions
diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile
index 4e7711cdf4be..b9a2231a4813 100644
--- a/devel/allegro/Makefile
+++ b/devel/allegro/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= http://sunsite.dk/allegro/
MAINTAINER= olgeni@FreeBSD.org
-USE_AUTOCONF= yes
+USE_AUTOCONF_VER=213
USE_GMAKE= yes
MAKEFILE= makefile
INSTALLS_SHLIB= yes
@@ -25,6 +25,10 @@ INSTALL_TARGET= mini-install
PLIST_SUB+= FULL="@comment "
.endif
+pre-configure:
+ ${PERL} -pi -e "s@AUTOHEADER = autoheader@AUTOHEADER =${AUTOHEADER}@g" \
+ ${WRKSRC}/makefile.in
+
pre-build:
cd ${WRKSRC} && ${GMAKE} depend
diff --git a/devel/allegro/files/patch-makefile.in b/devel/allegro/files/patch-makefile.in
index ec0b4a9b4e28..8ec2a46a71b3 100644
--- a/devel/allegro/files/patch-makefile.in
+++ b/devel/allegro/files/patch-makefile.in
@@ -1,14 +1,5 @@
--- makefile.in.orig Wed Jan 24 00:15:20 2001
+++ makefile.in Sat Dec 15 13:24:16 2001
-@@ -29,7 +29,7 @@
- ACLOCAL = aclocal
- ACLOCAL_M4 = $(srcdir)/aclocal.m4
- AUTOCONF = autoconf
--AUTOHEADER = autoheader
-+AUTOHEADER = autoheader213
-
- INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -279,7 +279,7 @@
done
$(mkinstalldirs) $(bindir)