From 80bf05b6d204847c34fae5be48a889dbab2093bb Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 31 Jan 2017 20:22:58 +0100 Subject: [PATCH] rawaes: fix makefile, enable x86_64. --- haiku-apps/rawaes/patches/rawaes-1.1.patchset | 30 +++++++++++++++++++ haiku-apps/rawaes/rawaes-1.1.recipe | 3 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 haiku-apps/rawaes/patches/rawaes-1.1.patchset diff --git a/haiku-apps/rawaes/patches/rawaes-1.1.patchset b/haiku-apps/rawaes/patches/rawaes-1.1.patchset new file mode 100644 index 00000000000..ee823e9df85 --- /dev/null +++ b/haiku-apps/rawaes/patches/rawaes-1.1.patchset @@ -0,0 +1,30 @@ +From 0dc8524ff5be81a7e7fbdc063810044751139fef Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Tue, 31 Jan 2017 20:18:57 +0100 +Subject: fix Makefile + + +diff --git a/Makefile b/Makefile +index 3ff7186..e332ba6 100644 +--- a/Makefile ++++ b/Makefile +@@ -54,14 +54,14 @@ RSRCS = + # - if your library does not follow the standard library naming scheme, + # you need to specify the path to the library and it's name. + # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a") +-LIBS = /boot/system/lib/libstdc++.r4.so /boot/system/lib/libbe.so /boot/system/lib/libroot.so ++LIBS = be $(STDCPPLIBS) + + # Specify additional paths to directories following the standard libXXX.so + # or libXXX.a naming scheme. You can specify full paths or paths relative + # to the Makefile. The paths included are not parsed recursively, so + # include all of the paths where libraries must be found. Directories where + # source files were specified are automatically included. +-LIBPATHS = SYSTEM_INCLUDE_PATHS= /boot/develop/headers/be /boot/develop/headers/cpp /boot/develop/headers/posix /boot/develop/lib /boot/beos/system/lib ++LIBPATHS = + + # Additional paths to look for system headers. These use the form + # "#include
". Directories that contain the files in SRCS are +-- +2.10.2 + diff --git a/haiku-apps/rawaes/rawaes-1.1.recipe b/haiku-apps/rawaes/rawaes-1.1.recipe index 918b7dcef96..41b8c0c9990 100644 --- a/haiku-apps/rawaes/rawaes-1.1.recipe +++ b/haiku-apps/rawaes/rawaes-1.1.recipe @@ -10,8 +10,9 @@ REVISION="1" SOURCE_URI="https://github.com/bbjimmy/rawaes/archive/Final.tar.gz" CHECKSUM_SHA256="b60d5c7af7f8952d47d8d212f504ec550ae44bf65290e10971af81084ed22e80" SOURCE_DIR="rawaes-Final" +PATCHES="rawaes-$portVersion.patchset" -ARCHITECTURES="x86_gcc2 x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 x86_64" PROVIDES=" rawaes$secondaryArchSuffix = $portVersion