foldershaper: fix build on x86_64.

* use a safe source.
This commit is contained in:
Jerome Duval
2017-01-31 21:45:43 +01:00
parent 00e0faae0d
commit b8b515f485
2 changed files with 29 additions and 3 deletions

View File

@@ -7,10 +7,14 @@ your folders on FolderShaper and select the template from the pop-up menu."
HOMEPAGE="https://github.com/HaikuArchives/FolderShaper"
COPYRIGHT="2005 Jonas Sundström"
LICENSE="Public Domain"
REVISION="1"
SOURCE_URI="git://github.com/HaikuArchives/FolderShaper.git"
REVISION="2"
srcGitRev="afe549dc49e5fffc0dd2f65c383c6a8e0764a103"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="b007d056b92f21b0cc31bea57ac939f31c3f751c06775694e1749e568257eee4"
SOURCE_DIR="FolderShaper-$srcGitRev"
PATCHES="foldershaper-$portVersion.patchset"
ARCHITECTURES="x86 x86_gcc2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
foldershaper = $portVersion

View File

@@ -0,0 +1,22 @@
From 36ae44f5ef235432cca1844705a36e98f96fd4b3 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 31 Jan 2017 21:41:40 +0100
Subject: add STDCPPLIBS
diff --git a/Source/Makefile b/Source/Makefile
index 7d78645..46541c6 100644
--- a/Source/Makefile
+++ b/Source/Makefile
@@ -56,7 +56,7 @@ RSRCS= FolderShaper.rsrc
# 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
+LIBS= be $(STDCPPLIBS)
# specify additional paths to directories following the standard
# libXXX.so or libXXX.a naming scheme. You can specify full paths
--
2.10.2