pkgsrc/graphics/skencil/patches/patch-ad

29 lines
1,023 B
Text

$NetBSD: patch-ad,v 1.2 2016/05/07 09:59:27 joerg Exp $
--- Sketch/Modules/Makefile.pre.in.orig 2002-08-06 20:21:24.000000000 +0000
+++ Sketch/Modules/Makefile.pre.in
@@ -116,7 +116,7 @@ CC= @CC@
LINKCC= @LINKCC@
SGI_ABI= @SGI_ABI@
OPT= @OPT@
-LDFLAGS= @LDFLAGS@
+LDFLAGS= @LDFLAGS@ ${COMPILER_RPATH_FLAG}${X11BASE}/lib
LIBS= @LIBS@
LIBM= @LIBM@
LIBC= @LIBC@
@@ -124,6 +124,7 @@ RANLIB= @RANLIB@
MACHDEP= @MACHDEP@
SO= @SO@
LDSHARED= @LDSHARED@
+BLDSHARED= @BLDSHARED@
CCSHARED= @CCSHARED@
LINKFORSHARED= @LINKFORSHARED@
#@SET_CCC@
@@ -255,6 +256,7 @@ sedscript: $(MAKEFILE)
-e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
-e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
-e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \
+ -e '/^BLDSHARED=/s/^BLDSHARED=[ ]*\(.*\)/s%@BLDSHARED[@]%\1%/p' \
-e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
-e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
-e '/^$L=/s/^$L=[ ]*\(.*\)/s%@$L[@]%\1%/p' \