1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/glib12/files/patch-ac
Ade Lovett 8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00

28 lines
838 B
Plaintext

--- glib-config.in.orig Tue Mar 6 09:49:34 2001
+++ glib-config.in Tue Mar 6 09:51:05 2001
@@ -88,20 +88,20 @@
if test "$lib_gthread" = "yes"; then
cflags="$cflags @G_THREAD_CFLAGS@"
fi
- echo -I@includedir@/glib-1.2 -I@libdir@/glib/include $includes $cflags
+ echo -I@includedir@ $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