aboutsummaryrefslogtreecommitdiffstats
path: root/devel/loki/files/patch-src-Makefile
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-03-03 20:05:05 +0800
committerwen <wen@FreeBSD.org>2010-03-03 20:05:05 +0800
commit77e712ee9bf564446e44509a9adc0296c2c04ca6 (patch)
tree7977e42df4e70c5fa178c3eecd40d89ccd29a8df /devel/loki/files/patch-src-Makefile
parent49807ee0d97231e4e555d72ed51b2d91b32ec397 (diff)
downloadfreebsd-ports-graphics-77e712ee9bf564446e44509a9adc0296c2c04ca6.tar.gz
freebsd-ports-graphics-77e712ee9bf564446e44509a9adc0296c2c04ca6.tar.zst
freebsd-ports-graphics-77e712ee9bf564446e44509a9adc0296c2c04ca6.zip
- Update to 0.1.7
Added file(s): - files/patch-Makefile.common - files/patch-test_SingletonDll_Makefile Removed file(s): - files/patch-Makefile - files/patch-include-loki-Threads.h - files/patch-test-Makefile - files/patch-test-SingletonDll-Makefile - files/patch-test-SmartPtr-main.cpp PR: ports/144062 Submitted by: "Charlie &" <snnn119@gmail.com> (maintainer) Feature safe: yes
Diffstat (limited to 'devel/loki/files/patch-src-Makefile')
-rw-r--r--devel/loki/files/patch-src-Makefile33
1 files changed, 13 insertions, 20 deletions
diff --git a/devel/loki/files/patch-src-Makefile b/devel/loki/files/patch-src-Makefile
index bd786736ef5..8c30b94fab1 100644
--- a/devel/loki/files/patch-src-Makefile
+++ b/devel/loki/files/patch-src-Makefile
@@ -1,21 +1,14 @@
---- src/Makefile.orig Sun Jan 28 01:57:12 2007
-+++ src/Makefile Sun Jan 28 01:59:57 2007
-@@ -20,10 +20,18 @@
- LDLIBS = -lpthread
- RESULT_DIR = ../lib/
+
+$FreeBSD$
+
+--- src/Makefile.orig
++++ src/Makefile
+@@ -20,7 +20,7 @@
+ override LDFLAGS += --shared -Wl,-soname=$(SHARED_LIB_VERSIONED) -fPIC
+ LDLIBS := -lpthread
else
-+ifeq ($(OS), FreeBSD)
-+ SHARED_LIB_BASE = libloki.so
-+ SHARED_LIB_VERSIONED = libloki.so.0
-+ LDFLAGS = --shared -Wl,-soname=$(SHARED_LIB_VERSIONED)
-+ LDLIBS = -pthread
-+ RESULT_DIR = ../lib/
-+else
- SHARED_LIB_BASE = libloki.dll
- LDFLAGS = --shared
- LDLIBS =
- RESULT_DIR = ../lib/
-+endif
- endif
- endif
-
+-ifeq ($(OS), GNU/kFreeBSD)
++ifeq ($(OS), $(filter $(OS),GNU/kFreeBSD FreeBSD))
+ SHARED_LIB_BASE := libloki.so
+ SHARED_LIB_VERSIONED := libloki.so.$(VERSION)
+ override LDFLAGS += --shared -Wl,-soname=$(SHARED_LIB_VERSIONED) -fPIC