summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-02 18:12:59 +0000
committerwiz <wiz>2002-10-02 18:12:59 +0000
commit90e9b26ac3fbc6d7aa7712e8f615e6f5da07328b (patch)
treec39d82cccb18afbdde55f5327efa376304ef29f9 /x11
parent2f30422a3c31cafdb45545c8c806c82a85cb19ca (diff)
downloadpkgsrc-90e9b26ac3fbc6d7aa7712e8f615e6f5da07328b.tar.gz
Use automake.mk.
Diffstat (limited to 'x11')
-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"