summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 114b439..d51718c 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 0000000..7c9dc3d
--- /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 fa9e3a6..0000000
--- 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
-
OpenPOWER on IntegriCloud