aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2010-05-15 02:41:24 +0800
committerjohans <johans@FreeBSD.org>2010-05-15 02:41:24 +0800
commitdf452943f9307dc1739e3d375047929714192c3e (patch)
treefd31bbf0b56b90c0ebef6dabe8df5e333cce4c62 /editors
parentc4cf50c0e73d91e66f84f2ea2e598f75eb8bbfbb (diff)
downloadfreebsd-ports-gnome-df452943f9307dc1739e3d375047929714192c3e.tar.gz
freebsd-ports-gnome-df452943f9307dc1739e3d375047929714192c3e.tar.zst
freebsd-ports-gnome-df452943f9307dc1739e3d375047929714192c3e.zip
Remove unnecessary dependency on autoconf/automake
Patch configure file instead of configure.in
Diffstat (limited to 'editors')
-rw-r--r--editors/cle/Makefile11
-rw-r--r--editors/cle/files/patch-configure11
-rw-r--r--editors/cle/files/patch-configure.in14
3 files changed, 19 insertions, 17 deletions
diff --git a/editors/cle/Makefile b/editors/cle/Makefile
index f2fe474b9e26..3f96aeec4add 100644
--- a/editors/cle/Makefile
+++ b/editors/cle/Makefile
@@ -13,12 +13,17 @@ MASTER_SITES= ftp://kaolin.unice.fr/pub/Cle/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command Line Editor (based on readline)
-USE_AUTOTOOLS= aclocal:110 autoconf:262 automake:110
+GNU_CONFIGURE= yes
USE_GMAKE= yes
-AUTOMAKE_ARGS= --gnu --add-missing
PLIST_FILES= bin/cle
MAN1= cle.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @cd ${WRKSRC} && ${TOUCH} -r configure.in aclocal.m4 \
+ Makefile.in */Makefile.in stamp-h.in
+
+.include <bsd.port.post.mk>
diff --git a/editors/cle/files/patch-configure b/editors/cle/files/patch-configure
new file mode 100644
index 000000000000..f55047c7464e
--- /dev/null
+++ b/editors/cle/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2010-05-14 20:12:23.000000000 +0200
++++ configure 2010-05-14 20:12:34.000000000 +0200
+@@ -1328,7 +1328,7 @@ done
+
+
+
+-(cd readline; configure $prefix $curses)
++(cd readline; ./configure --prefix=$prefix $curses)
+
+
+
diff --git a/editors/cle/files/patch-configure.in b/editors/cle/files/patch-configure.in
deleted file mode 100644
index b1e8b0932b09..000000000000
--- a/editors/cle/files/patch-configure.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- configure.in.org 2010-04-02 19:42:34.000000000 +0900
-+++ configure.in 2010-04-02 19:42:58.000000000 +0900
-@@ -48,8 +48,8 @@
-
- dnl Recursive configuration
-
--(cd readline; configure $prefix $curses)
-+(cd readline; ./configure --prefix=$prefix $curses)
-
--AC_SUBST(TERMLIB, TERMLIB)
--AC_SUBST(VERSION, VERSION)
-+AC_SUBST(TERMLIB)
-+AC_SUBST(VERSION)
- AC_OUTPUT(Makefile src/Makefile doc/Makefile etc/cle.spec)