Fix the build of this port in the case where the devel/pth port has also been

installed.

Spotted by:	rbg@gintera.org
This commit is contained in:
George C A Reid 2001-06-08 16:45:26 +00:00
parent bf79fec742
commit 1e0227f9f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43647

View file

@ -1,6 +1,17 @@
--- configure.orig Fri Jan 26 04:21:29 2001
+++ configure Fri Feb 16 15:50:41 2001
@@ -2130,7 +2130,7 @@
--- configure.orig Tue Apr 10 23:19:27 2001
+++ configure Fri Jun 8 17:38:18 2001
@@ -1549,8 +1549,8 @@
if test "`uname -s`" = "FreeBSD" ; then
echo "FreeBSD detected."
FREEBSD=1
- LDFLAGS="-L/usr/local/lib $LDFLAGS"
- CPPFLAGS="-I/usr/local/include $CPPFLAGS"
+ LDFLAGS="$LDFLAGS -L${libdir}"
+ CPPFLAGS="-I${includedir} $CPPFLAGS"
cat >> confdefs.h <<\EOF
#define AUDIO_NONBLOCKING 1
EOF
@@ -2195,7 +2195,7 @@
fi
done
@ -9,7 +20,7 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -3310,7 +3310,6 @@
@@ -3382,7 +3382,6 @@