summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/glade-gpl/Makefile6
-rw-r--r--lang/gnat-glade/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/lang/glade-gpl/Makefile b/lang/glade-gpl/Makefile
index b406466d41f2..883bb461b4cf 100644
--- a/lang/glade-gpl/Makefile
+++ b/lang/glade-gpl/Makefile
@@ -15,10 +15,14 @@ MAINTAINER= sam@inf.enst.fr
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
-USE_AUTOCONF= yes
+USE_AUTOMAKE_VER=14
CONFIGURE_ENV= ADA=adagcc
USE_GMAKE= yes
+pre-configure:
+ ${PERL} -pi -e "s@aclocal\)@${ACLOCAL})@g;\
+ s@automake\)@${AUTOMAKE})@g" ${WRKSRC}/aclocal.m4
+
post-install:
strip ${PREFIX}/bin/gnatdist
diff --git a/lang/gnat-glade/Makefile b/lang/gnat-glade/Makefile
index b406466d41f2..883bb461b4cf 100644
--- a/lang/gnat-glade/Makefile
+++ b/lang/gnat-glade/Makefile
@@ -15,10 +15,14 @@ MAINTAINER= sam@inf.enst.fr
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
-USE_AUTOCONF= yes
+USE_AUTOMAKE_VER=14
CONFIGURE_ENV= ADA=adagcc
USE_GMAKE= yes
+pre-configure:
+ ${PERL} -pi -e "s@aclocal\)@${ACLOCAL})@g;\
+ s@automake\)@${AUTOMAKE})@g" ${WRKSRC}/aclocal.m4
+
post-install:
strip ${PREFIX}/bin/gnatdist