mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Fix libsanta stdc++ linking on gcc4
This commit is contained in:
@@ -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 \
|
||||
|
||||
22
haiku-libs/libsanta/patches/libsanta-0.0.1.patchset
Normal file
22
haiku-libs/libsanta/patches/libsanta-0.0.1.patchset
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user