aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-11-15 00:26:22 +0800
committercy <cy@FreeBSD.org>2015-11-15 00:26:22 +0800
commit2e14e05fb5841e1edf2269577b293a487397b02e (patch)
treecbf343e184d1103092313225aa93553d37f04256 /lang
parent1d0e34659566e8f2a35abf6e2123b4a9847a9c95 (diff)
downloadfreebsd-ports-gnome-2e14e05fb5841e1edf2269577b293a487397b02e.tar.gz
freebsd-ports-gnome-2e14e05fb5841e1edf2269577b293a487397b02e.tar.zst
freebsd-ports-gnome-2e14e05fb5841e1edf2269577b293a487397b02e.zip
Fix build.
Diffstat (limited to 'lang')
-rw-r--r--lang/dmd2/files/patch-src__dmd__posix.mak65
1 files changed, 61 insertions, 4 deletions
diff --git a/lang/dmd2/files/patch-src__dmd__posix.mak b/lang/dmd2/files/patch-src__dmd__posix.mak
index ae0a06c0b67a..e51c104231cd 100644
--- a/lang/dmd2/files/patch-src__dmd__posix.mak
+++ b/lang/dmd2/files/patch-src__dmd__posix.mak
@@ -1,11 +1,68 @@
---- ../../src/dmd/posix.mak.orig 2014-08-17 22:37:03.394883855 -0700
-+++ ../../src/dmd/posix.mak 2014-08-17 22:37:43.775123006 -0700
-@@ -373,7 +373,7 @@
+--- ../../src/dmd/posix.mak.orig 2015-11-11 02:36:12.000000000 -0800
++++ ../../src/dmd/posix.mak 2015-11-14 08:20:14.138530978 -0800
+@@ -31,9 +31,9 @@
+ endif
+
+ #ifeq (osx,$(OS))
+-# HOST_CC=clang++
++# HOST_CC=clanc++
+ #else
+- HOST_CC=g++
++ HOST_CC=c++
+ #endif
+ CC=$(HOST_CC)
+ AR=ar
+@@ -92,7 +92,7 @@
+ -Wno-unused-value \
+ -Wno-unused-variable
+ # GCC Specific
+-ifeq ($(HOST_CC), g++)
++ifeq ($(HOST_CC), c++)
+ WARNINGS := $(WARNINGS) \
+ -Wno-logical-op \
+ -Wno-narrowing \
+@@ -100,7 +100,7 @@
+ -Wno-uninitialized
+ endif
+ # Clang Specific
+-ifeq ($(HOST_CC), clang++)
++ifeq ($(HOST_CC), clanc++)
+ WARNINGS := $(WARNINGS) \
+ -Wno-tautological-constant-out-of-range-compare \
+ -Wno-tautological-compare \
+@@ -112,7 +112,7 @@
+ # Default Warnings
+ WARNINGS := -Wno-deprecated -Wstrict-aliasing
+ # Clang Specific
+-ifeq ($(HOST_CC), clang++)
++ifeq ($(HOST_CC), clanc++)
+ WARNINGS := $(WARNINGS) \
+ -Wno-logical-op-parentheses \
+ -Wno-dynamic-class-memaccess \
+@@ -130,7 +130,7 @@
+ -D__pascal= -DMARS=1 -DTARGET_$(OS_UPCASE)=1 -DDM_TARGET_CPU_$(TARGET_CPU)=1 \
+ $(MODEL_FLAG)
+ # GCC Specific
+-ifeq ($(HOST_CC), g++)
++ifeq ($(HOST_CC), c++)
+ CFLAGS := $(CFLAGS) \
+ -std=gnu++98
+ endif
+@@ -312,7 +312,7 @@
+
+ ifneq (,$(AUTO_BOOTSTRAP))
+ $(HOST_DMD_PATH):
+- mkdir -p ${HOST_DMD_ROOT}
++ # mkdir -p ${HOST_DMD_ROOT}
+ TMPFILE=$$(mktemp deleteme.XXXXXXXX) && curl -fsSL ${HOST_DMD_URL} > $${TMPFILE}.zip && \
+ unzip -qd ${HOST_DMD_ROOT} $${TMPFILE}.zip && rm $${TMPFILE}.zip
+ endif
+@@ -423,7 +423,7 @@
$(eval bin_dir=$(if $(filter $(OS),osx), bin, bin$(MODEL)))
mkdir -p $(INSTALL_DIR)/$(OS)/$(bin_dir)
cp dmd $(INSTALL_DIR)/$(OS)/$(bin_dir)/dmd
- cp ../ini/$(OS)/$(bin_dir)/dmd.conf $(INSTALL_DIR)/$(OS)/$(bin_dir)/dmd.conf
+ cp ../../$(OS)/$(bin_dir)/dmd.conf $(INSTALL_DIR)/$(OS)/$(bin_dir)/dmd.conf
cp backendlicense.txt $(INSTALL_DIR)/dmd-backendlicense.txt
- cp artistic.txt $(INSTALL_DIR)/dmd-artistic.txt
+ cp boostlicense.txt $(INSTALL_DIR)/dmd-boostlicense.txt