summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/lesstif/Makefile.common17
1 files changed, 9 insertions, 8 deletions
diff --git a/x11/lesstif/Makefile.common b/x11/lesstif/Makefile.common
index 3d4d9014b84..69959224efc 100644
--- a/x11/lesstif/Makefile.common
+++ b/x11/lesstif/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2001/11/29 19:46:14 jlam Exp $
+# $NetBSD: Makefile.common,v 1.16 2002/10/02 18:12:59 wiz Exp $
DISTNAME= lesstif-${LESSTIF_VERSION}
LESSTIF_VERSION= 0.93.0
@@ -13,13 +13,12 @@ MASTER_SITES= ftp://ftp.hungry.com/pub/hungry/lesstif/srcdist/ \
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.lesstif.org/
-BUILD_DEPENDS+= automake>=1.4:../../devel/automake
-
USE_X11BASE= # defined
USE_GMAKE= # defined
USE_LIBTOOL= # defined
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/test/libtool
+AUTOMAKE_REQD= 1.4
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --enable-production --disable-debug --disable-verbose
@@ -60,11 +59,13 @@ post-patch:
pre-configure:
${TOUCH} ${WRKDIR}/nonexecutable
${CHMOD} a-x ${WRKDIR}/nonexecutable
- for dir in . test ; do \
+ for dir in . test ; do \
cd ${WRKSRC}/$${dir}; \
${LOCALBASE}/bin/libtoolize --force; \
- ${LOCALBASE}/bin/aclocal; \
- ${LOCALBASE}/bin/autoheader; \
- ${LOCALBASE}/bin/automake -a --foreign -i; \
- ${LOCALBASE}/bin/autoconf; \
+ ${ACLOCAL}; \
+ ${AUTOHEADER}; \
+ ${AUTOMAKE} -a --foreign -i; \
+ ${AUTOCONF}; \
done
+
+.include "../../mk/automake.mk"