Fix libsanta stdc++ linking on gcc4

This commit is contained in:
Chris Roberts
2013-12-13 00:08:51 -07:00
parent 74fa946881
commit 6113177a05
2 changed files with 27 additions and 3 deletions

View File

@@ -4,9 +4,9 @@ HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag"
COPYRIGHT="briant@timelinevista.com"
LICENSE="libsanta"
SRC_URI="git+https://github.com/HaikuArchives/SantasGiftBag#4b62541"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libsanta$secondaryArchSuffix = $portVersion
@@ -28,6 +28,8 @@ BUILD_PREREQUIRES="
cmd:mkdepend
"
PATCHES="libsanta-0.0.1.patchset"
BUILD()
{
make TYPE=STATIC \

View File

@@ -0,0 +1,22 @@
From 459e758be3720ec93b1029eea0db2af14db38121 Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Fri, 13 Dec 2013 00:03:52 -0700
Subject: Fix stdc++ libs on gcc4
diff --git a/Makefile b/Makefile
index 57c3914..2719e8d 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ RSRCS=
# naming scheme you need to specify the path to the library
# and it's name
# library: my_lib.a entry: my_lib.a or path/my_lib.a
-LIBS= be root stdc++.r4
+LIBS= be root $(STDCPPLIBS)
# specify additional paths to directories following the standard
# libXXX.so or libXXX.a naming scheme. You can specify full paths
--
1.8.3.4