aboutsummaryrefslogtreecommitdiffstats
path: root/print/foomatic-db
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-06 06:59:25 +0800
committeredwin <edwin@FreeBSD.org>2003-04-06 06:59:25 +0800
commite5d25bf3e312ce5c2a8c345dc2bf88ef3c0f29b3 (patch)
tree30c420eb132ad6001ce0a529f7d4f3c7f3a465ff /print/foomatic-db
parente7d4cb6e2a9db4d0d17b30d122b6dd0bd25f8208 (diff)
downloadfreebsd-ports-graphics-e5d25bf3e312ce5c2a8c345dc2bf88ef3c0f29b3.tar.gz
freebsd-ports-graphics-e5d25bf3e312ce5c2a8c345dc2bf88ef3c0f29b3.tar.zst
freebsd-ports-graphics-e5d25bf3e312ce5c2a8c345dc2bf88ef3c0f29b3.zip
Solved the sh/bash issue in configure.in a little bit nicer.
Added dependency on autoconf. Notited by: kris/bento
Diffstat (limited to 'print/foomatic-db')
-rw-r--r--print/foomatic-db/Makefile2
-rw-r--r--print/foomatic-db/files/patch-configure.in11
-rw-r--r--print/foomatic-db/files/preconfigure-patch11
3 files changed, 12 insertions, 12 deletions
diff --git a/print/foomatic-db/Makefile b/print/foomatic-db/Makefile
index 114b439cbf5..d51718c84f0 100644
--- a/print/foomatic-db/Makefile
+++ b/print/foomatic-db/Makefile
@@ -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>
diff --git a/print/foomatic-db/files/patch-configure.in b/print/foomatic-db/files/patch-configure.in
new file mode 100644
index 00000000000..7c9dc3dd51f
--- /dev/null
+++ b/print/foomatic-db/files/patch-configure.in
@@ -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
+
diff --git a/print/foomatic-db/files/preconfigure-patch b/print/foomatic-db/files/preconfigure-patch
deleted file mode 100644
index fa9e3a6972c..00000000000
--- a/print/foomatic-db/files/preconfigure-patch
+++ /dev/null
@@ -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
-