From bacf3e701343e8cb3e451b62ddada039f31110c9 Mon Sep 17 00:00:00 2001 From: pawel Date: Mon, 31 Mar 2014 19:56:48 +0000 Subject: Revert part of last commit. This adds DragonFly support back. Noticed by: marino --- devel/capstone/files/patch-Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'devel/capstone') 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) -- cgit