aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-01 03:56:48 +0800
committerpawel <pawel@FreeBSD.org>2014-04-01 03:56:48 +0800
commitbacf3e701343e8cb3e451b62ddada039f31110c9 (patch)
tree52a699ccfa84129b99b242f2bea755f274096e61 /devel
parent0422e04c81e6dd3543df4e0f35b3a33e64ac816c (diff)
downloadfreebsd-ports-gnome-bacf3e701343e8cb3e451b62ddada039f31110c9.tar.gz
freebsd-ports-gnome-bacf3e701343e8cb3e451b62ddada039f31110c9.tar.zst
freebsd-ports-gnome-bacf3e701343e8cb3e451b62ddada039f31110c9.zip
Revert part of last commit. This adds DragonFly support back.
Noticed by: marino
Diffstat (limited to 'devel')
-rw-r--r--devel/capstone/files/patch-Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/devel/capstone/files/patch-Makefile b/devel/capstone/files/patch-Makefile
index dcb85bb74c81..1118a4e326a6 100644
--- a/devel/capstone/files/patch-Makefile
+++ b/devel/capstone/files/patch-Makefile
@@ -1,6 +1,5 @@
-diff -ru /Makefile /Makefile
---- Makefile 2014-03-14 17:24:44.000000000 +0100
-+++ Makefile 2014-03-14 17:35:33.000000000 +0100
+--- Makefile.orig 2014-03-11 04:41:09.000000000 +0100
++++ Makefile 2014-03-31 21:34:29.000000000 +0200
@@ -16,7 +16,7 @@
STRIP = $(CROSS)strip
endif
@@ -10,17 +9,11 @@ diff -ru /Makefile /Makefile
ifeq ($(USE_SYS_DYN_MEM),yes)
CFLAGS += -DUSE_SYS_DYN_MEM
-@@ -39,9 +39,17 @@
+@@ -39,9 +39,11 @@
endif
endif
-+LIBDATADIR = $(LIBDIR)
-+UNAME_S := $(shell uname -s)
-+ifeq ($(UNAME_S), FreeBSD)
+LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
-+else
-+LIBDATADIR = $(LIBDIR)
-+endif
+
INSTALL_BIN ?= install
INSTALL_DATA ?= $(INSTALL_BIN) -m0644
@@ -29,7 +22,7 @@ diff -ru /Makefile /Makefile
LIBNAME = capstone
-@@ -138,8 +146,7 @@
+@@ -138,8 +140,7 @@
LIBOBJ += MCInst.o
@@ -39,7 +32,7 @@ diff -ru /Makefile /Makefile
# OSX?
ifeq ($(UNAME_S),Darwin)
-@@ -244,7 +251,7 @@
+@@ -244,7 +245,7 @@
install: $(PKGCFGF) $(ARCHIVE) $(LIBRARY)
mkdir -p $(LIBDIR)