pkgsrc/devel/gnustep-base/patches/patch-aa
adam ad931dd548 Changes 1.11.2:
* Support for GNUstep.conf and relocation of the filesystem is much
     improved in this release.

   * The WM_QUIT message is now intercepted to allow an application to
     terminate cleanly.

   * NSMessagePort was implemented on Windows platforms.

   * Deprecated support for system-wide GNUsteprc files has been
     removed.

   * Some support for keeping user defaults in the Windows registry
     implemented.
2006-01-17 07:38:34 +00:00

28 lines
1 KiB
Text

$NetBSD: patch-aa,v 1.9 2006/01/17 07:38:34 adam Exp $
--- configure.orig 2005-12-06 06:50:25.000000000 +0100
+++ configure
@@ -2948,12 +2948,12 @@ echo $ECHO_N "checking the Objective-C r
if test "$OBJC_RUNTIME_LIB" = "nx" -o "$OBJC_RUNTIME_LIB" = "apple"; then
echo "$as_me:$LINENO: result: NeXT" >&5
echo "${ECHO_T}NeXT" >&6
- LIBOBJC='-lobjc'
+ LIBOBJC='-lobjc @PTHREAD_LIBS@'
OBJCFLAGS="-fnext-runtime -DNeXT_RUNTIME"
else
echo "$as_me:$LINENO: result: GNU" >&5
echo "${ECHO_T}GNU" >&6
- LIBOBJC='-lobjc'
+ LIBOBJC='-lobjc @PTHREAD_LIBS@'
OBJCFLAGS="-fgnu-runtime"
fi
@@ -2977,7 +2977,7 @@ fi
# $GNUSTEP_HDIR are used before the standard ones
#
INCLUDE_FLAGS="$INCLUDE_FLAGS -I$GNUSTEP_HDIR"
-LDIR_FLAGS="$LDIR_FLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
+LDIR_FLAGS="$LDIR_FLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -Wl,-R$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR -Wl,-R$GNUSTEP_LDIR"
#--------------------------------------------------------------------
# Check if Objective-C is installed