aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/allegro-devel/Makefile6
-rw-r--r--devel/allegro-devel/files/patch-makefile.in9
-rw-r--r--devel/allegro/Makefile6
-rw-r--r--devel/allegro/files/patch-makefile.in9
4 files changed, 10 insertions, 20 deletions
diff --git a/devel/allegro-devel/Makefile b/devel/allegro-devel/Makefile
index 4e7711cdf4be..b9a2231a4813 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 ec0b4a9b4e28..8ec2a46a71b3 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)
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)