aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2012-04-16 13:34:27 +0800
committercy <cy@FreeBSD.org>2012-04-16 13:34:27 +0800
commitd36a4717f2680112d2f6bc2a4eb7993f8e20b965 (patch)
treec8361e38b4daa19571dd0650c05dbf75fc2168e9 /lang
parentf134049de9c4bee9a4d5383c2c34a69f6fb3c921 (diff)
downloadfreebsd-ports-graphics-d36a4717f2680112d2f6bc2a4eb7993f8e20b965.tar.gz
freebsd-ports-graphics-d36a4717f2680112d2f6bc2a4eb7993f8e20b965.tar.zst
freebsd-ports-graphics-d36a4717f2680112d2f6bc2a4eb7993f8e20b965.zip
Fix runtime error (unable to find libphobos2).
Diffstat (limited to 'lang')
-rw-r--r--lang/dmd2/Makefile1
-rw-r--r--lang/dmd2/files/patch-linux-bin32-dmd.conf8
2 files changed, 9 insertions, 0 deletions
diff --git a/lang/dmd2/Makefile b/lang/dmd2/Makefile
index 0883543657d..a4f6397456f 100644
--- a/lang/dmd2/Makefile
+++ b/lang/dmd2/Makefile
@@ -8,6 +8,7 @@
PORTNAME= dmd
PKGNAMESUFFIX= 2
PORTVERSION= 2.059
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://ftp.digitalmars.com/
DISTNAME= dmd.${PORTVERSION}
diff --git a/lang/dmd2/files/patch-linux-bin32-dmd.conf b/lang/dmd2/files/patch-linux-bin32-dmd.conf
new file mode 100644
index 00000000000..4d18d4e06f8
--- /dev/null
+++ b/lang/dmd2/files/patch-linux-bin32-dmd.conf
@@ -0,0 +1,8 @@
+--- ../../linux/bin32/dmd.conf.orig 2012-04-15 22:12:01.771713192 -0700
++++ ../../linux/bin32/dmd.conf 2012-04-15 22:17:51.647954697 -0700
+@@ -1,4 +1,4 @@
+
+ [Environment]
+
+-DFLAGS=-I/usr/local/include/d/phobos2 -I/usr/local/include/d/druntime/import -L-L/usr/local/lib32 -L-L%@P%/../lib64 -L--no-warn-search-mismatch -L--export-dynamic
++DFLAGS=-I/usr/local/include/d/phobos2 -I/usr/local/include/d/druntime/import -L-L/usr/local/lib -L--no-warn-search-mismatch -L--export-dynamic