summaryrefslogtreecommitdiff
path: root/lang/sather/patches
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-03-10 06:25:35 +0000
committerjmc <jmc@pkgsrc.org>2003-03-10 06:25:35 +0000
commitd0c3c362e04f7e544e5240c48c0eb9f2d6d63ff5 (patch)
tree604cecb32db26da73810fc212c3cff3a1431b2c2 /lang/sather/patches
parent75a014e26024a9e9fbaa392b41fa498ce68d807f (diff)
downloadpkgsrc-d0c3c362e04f7e544e5240c48c0eb9f2d6d63ff5.tar.gz
Needs -Wl,-R (or the equiv) when linking libgc. Pass _OPSYS_RPATH_NAME in and use that accordingly.
Diffstat (limited to 'lang/sather/patches')
-rw-r--r--lang/sather/patches/patch-af4
-rw-r--r--lang/sather/patches/patch-ag4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/sather/patches/patch-af b/lang/sather/patches/patch-af
index 6e372442246..4152bc02069 100644
--- a/lang/sather/patches/patch-af
+++ b/lang/sather/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.1.1.1 2002/05/04 00:45:35 jtb Exp $
+$NetBSD: patch-af,v 1.2 2003/03/10 06:25:36 jmc Exp $
--- Boot/sacomp.code/Makefile.orig Thu Nov 4 08:04:49 1999
+++ Boot/sacomp.code/Makefile
@@ -10,7 +10,7 @@ $NetBSD: patch-af,v 1.1.1.1 2002/05/04 00:45:35 jtb Exp $
+CC = @CC@
HDR =sather.h tags.h
-LIBS = -lgc -lm
-+LIBS = -L@GC_PREFIX@/lib -lgc -lm
++LIBS = -L@GC_PREFIX@/lib -Wl,${_OPSYS_RPATH_NAME}@GC_PREFIX@/lib -lgc -lm
CS =sacomp
OBJ = a_stackA_STACK2014955575.o am_outAM_OUT1363671444.o am_outAM_OUT1363671444x.o arefFSETAM_ROU1518004496.o arefFSETIMMUTA2116029667.o arefFSETTUPSIG268064465.o arrayARRAYAM_I1084914261.o arrayARRAYTUPI1927875024.o as_outAS_OUT1429002792.o as_outAS_OUT1429002792x.o cgenCGEN1354269066.o cgenCGEN1354269066x.o cgenCGEN1354269066xx.o cgenCGEN1354269066xxx.o cgenCGEN1354269066xxxx.o cgenCGEN1354269066xxxxx.o cgenCGEN1354269066xxxxxx.o cgenCGEN1354269066xxxxxxx.o cgenCGEN1354269066xxxxxxxx.o cgenCGEN1354269066xxxxxxxxx.o cgenCGEN1354269066xxxxxxxxxx.o code_fileCODE_372141741.o configCONFIG_R422014871.o cs_optionsCS_O301318552.o cs_optionsCS_O301318552x.o cursorAM_CURSO1314676474.o cursorAM_CURSO1314676474x.o cursorAM_CURSO1314676474xx.o cursorAM_CURSO1314676474xxx.o dispatch.o eltELT742463773.o elt_algELT_ALG1548486913.o elt_algELT_ALG241706736.o elt_algELT_ALG433952755.o elt_algELT_ALG656599769.o elt_algELT_ALG987448979.o flistFLISTAM_C1171004157.o flistFLISTTUPA253333040.o fmapFMAPAM_ROU1000508936.o fmapFMAPSTRFSE258056667.o fmapFMAPdTPCOD1051074108.o generate_amGEN60284023.o get_optionsCOD183550016.o globals.o get_optionsCOD183550016x.o implIMPL_CREAT99472218.o inlineINLINE_I1557365391.o intiINTI1462257232.o layoutCLASS_LA1330944056.o mangleMANGLE1705139666.o mangleNAMESPAC760510184.o o_localOPT_LOC907909712.o o_localOPT_LOC907909712x.o optimizeOPT_CO1177876774.o optimizeOPT_IT1193060919.o parsePARSER311504339.o parsePARSER311504339x.o parsePARSER311504339xx.o parsePARSER311504339xxx.o parsePARSER311504339xxxx.o progPROG_AS_TB824135997.o scanSCANNER1990933774.o side_effectSE_411721069.o strings.o stringsx.o stringsxx.o system.o stmtAM_FORK_ST1674905658.o tpTP_BUILTIN1142074570.o tpTP_ITER145455607.o transTRANS2123847391.o transTRANS2123847391x.o transTRANS2123847391xx.o transTRANS2123847391xxx.o transTRANS2123847391xxxx.o tupTUPAM_CURSO1313579705.o unbox.o unixUNIX1766692.o runtime.o
OTHER =
diff --git a/lang/sather/patches/patch-ag b/lang/sather/patches/patch-ag
index afe9f97756c..fee2c4f723c 100644
--- a/lang/sather/patches/patch-ag
+++ b/lang/sather/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.1.1.1 2002/05/04 00:45:35 jtb Exp $
+$NetBSD: patch-ag,v 1.2 2003/03/10 06:25:36 jmc Exp $
--- System/Common/CONFIG.proto.orig Wed Nov 3 18:48:17 1999
+++ System/Common/CONFIG.proto
@@ -13,7 +13,7 @@ $NetBSD: patch-ag,v 1.1.1.1 2002/05/04 00:45:35 jtb Exp $
+VERSION: "1.2.1";
+C_COMPILER: "@CC@";
+CC_OPTIONS: "-I@GC_PREFIX@/include";
-+GC_LINK: "-L@GC_PREFIX@/lib -lgc";
++GC_LINK: "-L@GC_PREFIX@/lib -Wl,${_OPSYS_RPATH_NAME}@GC_PREFIX@/lib -lgc";
LINK_OPTIONS: "-lm";
-MAKE_COMMAND: "make";
+MAKE_COMMAND: "@GMAKE@";