summaryrefslogtreecommitdiff
path: root/x11/lesstif
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-02 18:12:59 +0000
committerwiz <wiz@pkgsrc.org>2002-10-02 18:12:59 +0000
commit40b7a0920f3d2943430553e6f39fe1a0f2cadd69 (patch)
treec39d82cccb18afbdde55f5327efa376304ef29f9 /x11/lesstif
parent5e15133d7d293a1fca92fcd314162823d51d1fab (diff)
downloadpkgsrc-40b7a0920f3d2943430553e6f39fe1a0f2cadd69.tar.gz
Use automake.mk.
Diffstat (limited to 'x11/lesstif')
-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"