mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
f4e955dd2b
WWW: http://g19linux.sourceforge.net/ PR: ports/156426 Submitted by: Armin Pirkovitsch <armin@frozen-zone.org>
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
--- configure.orig 2011-04-15 10:36:10.000000000 +0200
|
|
+++ configure 2011-04-15 15:27:11.000000000 +0200
|
|
@@ -20067,35 +20067,11 @@
|
|
|
|
if test -n "$libg19_CFLAGS"; then
|
|
pkg_cv_libg19_CFLAGS="$libg19_CFLAGS"
|
|
- elif test -n "$PKG_CONFIG"; then
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_libg19_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- else
|
|
- pkg_failed=untried
|
|
fi
|
|
if test -n "$libg19_LIBS"; then
|
|
pkg_cv_libg19_LIBS="$libg19_LIBS"
|
|
- elif test -n "$PKG_CONFIG"; then
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_libg19_LIBS=`$PKG_CONFIG --libs "libusb-1.0" 2>/dev/null`
|
|
else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- else
|
|
- pkg_failed=untried
|
|
+ pkg_cv_libg19_LIBS="-lusb"
|
|
fi
|
|
|
|
|