1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/glib12/files/patch-ac
Steve Price 51ec9126d4 Update to version 1.2.3.
PR:		11841
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
1999-05-29 03:46:56 +00:00

37 lines
985 B
Plaintext

--- glib-config.in.orig Wed Dec 16 09:30:46 1998
+++ glib-config.in Tue Jan 19 23:20:59 1999
@@ -7,7 +7,7 @@
usage()
{
cat <<EOF
-Usage: glib-config [OPTIONS] [LIBRARIES]
+Usage: glib@LT_RELEASE@-config [OPTIONS] [LIBRARIES]
Options:
[--prefix[=DIR]]
[--exec-prefix[=DIR]]
@@ -91,20 +91,20 @@
if test "$lib_gthread" = "yes"; then
cflags="$cflags @G_THREAD_CFLAGS@"
fi
- echo -I@libdir@/glib/include $includes $cflags
+ echo $includes $cflags
fi
if test "$echo_libs" = "yes"; then
libsp=""
libsa=""
if test "$lib_glib" = "yes"; then
- libsp="$libsp -lglib"
+ libsp="$libsp -lglib@LT_RELEASE@"
fi
if test "$lib_gthread" = "yes"; then
- libsp="-lgthread $libsp"
+ libsp="-lgthread@LT_RELEASE@ $libsp"
libsa="$libsa @G_THREAD_LIBS@"
fi
if test "$lib_gmodule" = "yes"; then
- libsp="@G_MODULE_LDFLAGS@ -lgmodule $libsp"
+ libsp="@G_MODULE_LDFLAGS@ -lgmodule@LT_RELEASE@ $libsp"
libsa="$libsa @G_MODULE_LIBS@"
fi
echo -L@libdir@ $libsp $libsa