pkgsrc/devel/gnustep-make/patches/patch-ab
rh 9f85fe4d75 Add proper runtime link path
Add some missing environment variables needed by the GNUstep build system
Include GNUstep binary directories in PATH
Include some missing header files in buildlink list
Bump PKGREVISION
2002-09-27 15:22:11 +00:00

22 lines
924 B
Text

$NetBSD: patch-ab,v 1.1 2002/09/27 15:22:11 rh Exp $
--- common.make.orig Fri Jun 14 02:11:52 2002
+++ common.make
@@ -263,12 +263,16 @@ ifeq ($(REMOVE_EMPTY_DIRS),yes)
# default - by default we put all directories in compilation commands.
GNUSTEP_HEADERS_FLAGS = \
$(addprefix -I,$(foreach dir,$(GNUSTEP_HEADERS_DIRS),$(remove_if_empty)))
+comma:= ,
GNUSTEP_LIBRARIES_FLAGS = \
- $(addprefix -L,$(foreach dir,$(GNUSTEP_LIBRARIES_DIRS),$(remove_if_empty)))
+ $(addprefix -L,$(foreach dir,$(GNUSTEP_LIBRARIES_DIRS),$(remove_if_empty))) \
+ $(addprefix -Wl$(comma)-R,$(foreach dir,$(GNUSTEP_LIBRARIES_DIRS),$(remove_if_empty)))
else
+comma:= ,
# Default case, just add -I / -L
GNUSTEP_HEADERS_FLAGS = $(addprefix -I,$(GNUSTEP_HEADERS_DIRS))
GNUSTEP_LIBRARIES_FLAGS = $(addprefix -L,$(GNUSTEP_LIBRARIES_DIRS))
+ GNUSTEP_LIBRARIES_FLAGS+= $(addprefix -Wl$(comma)-R,$(GNUSTEP_LIBRARIES_DIRS))
endif
#