aboutsummaryrefslogtreecommitdiffstats
path: root/devel/allegro
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-01-07 12:07:09 +0800
committerwill <will@FreeBSD.org>2002-01-07 12:07:09 +0800
commit6c76a1684b8cba589dc9e9f326c0442f22fe048a (patch)
tree49f4cd50487a71801afd91bf52a546f61496c3a8 /devel/allegro
parent4d679f519d4a7009f4353ca6aac881fa3dd142bb (diff)
downloadfreebsd-ports-gnome-6c76a1684b8cba589dc9e9f326c0442f22fe048a.tar.gz
freebsd-ports-gnome-6c76a1684b8cba589dc9e9f326c0442f22fe048a.tar.zst
freebsd-ports-gnome-6c76a1684b8cba589dc9e9f326c0442f22fe048a.zip
Allow this port to support arbitrary versions of autoconf.
Submitted by: bento 4-exp
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)