Solved the sh/bash issue in configure.in a little bit nicer.

Added dependency on autoconf.
Notited by: kris/bento
This commit is contained in:
Edwin Groothuis 2003-04-05 22:59:25 +00:00
parent 74d2a1519a
commit f606c70c91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78362
3 changed files with 12 additions and 12 deletions

View file

@ -20,6 +20,7 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
USE_GMAKE= yes
USE_PERL5= yes
USE_BZIP2= yes
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
@ -61,6 +62,5 @@ do-fetch:
pre-configure:
@cd ${WRKSRC} && ./make_configure
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/preconfigure-patch
.include <bsd.port.post.mk>

View file

@ -0,0 +1,11 @@
--- configure.in.orig Sat Apr 5 14:56:29 2003
+++ configure.in Sat Apr 5 14:56:36 2003
@@ -3,7 +3,7 @@
dnl If the user didn't specify the $sysconfdir on the command line, let it
dnl be /etc, not /usr/local/etc or /usr/etc
-if [[ x$sysconfdir == 'x${prefix}/etc' ]]; then
+if [[ x$sysconfdir = 'x${prefix}/etc' ]]; then
sysconfdir=/etc
fi

View file

@ -1,11 +0,0 @@
--- configure.orig Mon Mar 31 19:00:38 2003
+++ configure Mon Mar 31 19:00:43 2003
@@ -1108,7 +1108,7 @@
-if [ x$sysconfdir == 'x${prefix}/etc' ]; then
+if [ x$sysconfdir = 'x${prefix}/etc' ]; then
sysconfdir=/etc
fi