mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
38ef0599d1
o Support NOPORTDOCS PR: 29014 Submitted by: Kato Tsuguru <tkato@prontomail.com>
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
--- configure.orig Thu Aug 17 19:41:42 2000
|
|
+++ configure Fri Oct 13 00:52:28 2000
|
|
@@ -1182,8 +1182,8 @@
|
|
echo "configure:1183: checking if the compiler understands -pipe" >&5
|
|
OLDCC="$CC"
|
|
OLDCXX="$CXX"
|
|
- CC="$CC -pipe"
|
|
- CXX="$CXX -pipe"
|
|
+ CC="$CC"
|
|
+ CXX="$CXX"
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 1189 "configure"
|
|
#include "confdefs.h"
|
|
@@ -1707,7 +1707,7 @@
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
ac_save_LIBS="$LIBS"
|
|
-LIBS="-lgtk `$gtkbin""gtk-config --libs` $LIBS"
|
|
+LIBS="`$GTK_CONFIG --libs` $LIBS"
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 1713 "configure"
|
|
#include "confdefs.h"
|
|
@@ -1746,7 +1746,7 @@
|
|
|
|
echo $ac_n "checking GTK+ version""... $ac_c" 1>&6
|
|
echo "configure:1749: checking GTK+ version" >&5
|
|
- GTKV=`$gtkbin""gtk-config --version`
|
|
+ GTKV=`$GTK_CONFIG --version`
|
|
echo "$ac_t""$GTKV" 1>&6
|
|
case "$GTKV" in
|
|
1.0.*)
|
|
@@ -1756,7 +1756,8 @@
|
|
GTK_CFLAGS='-DHAVE_GTK_1_1'
|
|
;;
|
|
*)
|
|
- GTK_CFLAGS=''
|
|
+ GTK_CFLAGS=`$GTK_CONFIG --cflags`
|
|
+ GTK_LIBS=`$GTK_CONFIG --libs`
|
|
;;
|
|
esac
|
|
fi
|
|
@@ -1942,8 +1943,8 @@
|
|
OS_LIBCQCAM_OBJS=''
|
|
;;
|
|
freebsd*)
|
|
- OS_CFLAGS='-O2 -I/usr/local/include -DFREEBSD'
|
|
- OS_LDFLAGS='-L/usr/local/lib'
|
|
+ OS_CFLAGS="$CXXFLAGS $CPPFLAGS -DFREEBSD"
|
|
+ OS_LDFLAGS="$LDFLAGS"
|
|
OS_LIBCQCAM_OBJS=''
|
|
;;
|
|
bsdi*)
|
|
@@ -2179,6 +2180,7 @@
|
|
s%@bingroup@%$bingroup%g
|
|
s%@gtkbin@%$gtkbin%g
|
|
s%@GTK_CFLAGS@%$GTK_CFLAGS%g
|
|
+s%@GTK_LIBS@%$GTK_LIBS%g
|
|
|
|
CEOF
|
|
EOF
|