summaryrefslogtreecommitdiff
path: root/editors/nvi-devel/files/patch-configure-incl
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nvi-devel/files/patch-configure-incl')
-rw-r--r--editors/nvi-devel/files/patch-configure-incl17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/nvi-devel/files/patch-configure-incl b/editors/nvi-devel/files/patch-configure-incl
new file mode 100644
index 000000000000..475f48c03463
--- /dev/null
+++ b/editors/nvi-devel/files/patch-configure-incl
@@ -0,0 +1,17 @@
+# The db3 port installs its include files into ${PREFIX}/include/db3,
+# but the distfile assumes they're in ${PREFIX}/include. This seems
+# to be a FreeBSDism, so this patch has not, and probably should not,
+# be submitted to the maintainer.
+
+diff -ru nvi-1.81.4.orig/dist/configure nvi-1.81.4/dist/configure
+--- nvi-1.81.4.orig/dist/configure Mon Jun 18 14:24:37 2001
++++ nvi-1.81.4/dist/configure Fri Jul 6 03:27:53 2001
+@@ -6980,7 +6980,7 @@
+ saveLDFLAGS="$LDFLAGS"
+ if test "x$with_db3" != "x"; then
+ LDFLAGS="-L$with_db3/lib $LDFLAGS"
+- CFLAGS="-I$with_db3/include $CFLAGS"
++ CFLAGS="-I$with_db3/include -I$with_db3/include/db3 $CFLAGS"
+ fi;
+
+ echo $ac_n "checking for db_create in -ldb""... $ac_c" 1>&6