summaryrefslogtreecommitdiffstats
path: root/devel/allegro-devel
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-01-07 04:07:09 +0000
committerwill <will@FreeBSD.org>2002-01-07 04:07:09 +0000
commit6c76a1684b8cba589dc9e9f326c0442f22fe048a (patch)
tree49f4cd50487a71801afd91bf52a546f61496c3a8 /devel/allegro-devel
parent4d679f519d4a7009f4353ca6aac881fa3dd142bb (diff)
downloadFreeBSD-ports-6c76a1684b8cba589dc9e9f326c0442f22fe048a.zip
FreeBSD-ports-6c76a1684b8cba589dc9e9f326c0442f22fe048a.tar.gz
Allow this port to support arbitrary versions of autoconf.
Submitted by: bento 4-exp
Diffstat (limited to 'devel/allegro-devel')
-rw-r--r--devel/allegro-devel/Makefile6
-rw-r--r--devel/allegro-devel/files/patch-makefile.in9
2 files changed, 5 insertions, 10 deletions
diff --git a/devel/allegro-devel/Makefile b/devel/allegro-devel/Makefile
index 4e7711c..b9a2231 100644
--- a/devel/allegro-devel/Makefile
+++ b/devel/allegro-devel/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-devel/files/patch-makefile.in b/devel/allegro-devel/files/patch-makefile.in
index ec0b4a9..8ec2a46 100644
--- a/devel/allegro-devel/files/patch-makefile.in
+++ b/devel/allegro-devel/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)
OpenPOWER on IntegriCloud