summaryrefslogtreecommitdiff
path: root/editors/nvi-devel/files/patch-configure-incl
blob: 475f48c034639b6ea752d06c1d8e1d701817edcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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