ports/devel/loki/files/patch-test_SingletonDll_Makefile
Mathieu Arnold 8dab11a002 Remove $FreeBSD$ from patches files in categories a-j.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 13:34:20 +00:00

22 lines
471 B
Text

--- test/SingletonDll/Makefile.orig
+++ test/SingletonDll/Makefile
@@ -5,6 +5,11 @@
LIB2 := libsingletondll.dylib
SHARED_LIB_FLAG := -dynamiclib -fPIC
else
+ifeq ($(OS),FreeBSD)
+ LIB1 := libfoo.so
+ LIB2 := libsingletondll.so
+ SHARED_LIB_FLAG := --shared -fPIC
+else
ifeq ($(OS),Linux)
LIB1 := libfoo.so
LIB2 := libsingletondll.so
@@ -15,6 +20,7 @@
SHARED_LIB_FLAG := --shared
endif
endif
+endif
BIN1 := client$(BIN_SUFFIX)
SRC1 := client.cpp