aboutsummaryrefslogtreecommitdiffstats
path: root/lang/dmd
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2013-01-31 10:32:38 +0800
committercy <cy@FreeBSD.org>2013-01-31 10:32:38 +0800
commit6d64251391e000672157aa2604e7de1e4f0df30e (patch)
tree537be4499341d8426450c9fbaab8f664fddd09c5 /lang/dmd
parentf593dea643b9d82b8fde63018fed55473e81a45a (diff)
downloadfreebsd-ports-gnome-6d64251391e000672157aa2604e7de1e4f0df30e.tar.gz
freebsd-ports-gnome-6d64251391e000672157aa2604e7de1e4f0df30e.tar.zst
freebsd-ports-gnome-6d64251391e000672157aa2604e7de1e4f0df30e.zip
Update 1.075 --> 1.076
> Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M pkg-plist M Makefile M distinfo M files/patch-src-dmd-posix.mak
Diffstat (limited to 'lang/dmd')
-rw-r--r--lang/dmd/Makefile8
-rw-r--r--lang/dmd/distinfo4
-rw-r--r--lang/dmd/files/patch-src-dmd-posix.mak38
-rw-r--r--lang/dmd/pkg-plist3
4 files changed, 14 insertions, 39 deletions
diff --git a/lang/dmd/Makefile b/lang/dmd/Makefile
index eb23e65f845b..2a978d7ba02f 100644
--- a/lang/dmd/Makefile
+++ b/lang/dmd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dmd
-PORTVERSION= 1.075
+PORTVERSION= 1.076
CATEGORIES= lang
MASTER_SITES= http://ftp.digitalmars.com/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@@ -39,6 +39,12 @@ MAKEFILE= posix.mak
NO_BUILD= yes
.endif
+.if ${ARCH} == "amd64"
+MAKE_ARGS+= MODEL=64
+.else
+MAKE_ARGS+= MODEL=32
+.endif
+
post-patch:
.if defined(WITH_SOURCE)
@${REINPLACE_CMD} -e "s|gcc|${CC}|" \
diff --git a/lang/dmd/distinfo b/lang/dmd/distinfo
index b9f88dd2f196..addedd95558a 100644
--- a/lang/dmd/distinfo
+++ b/lang/dmd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dmd.1.075.zip) = 661a20bbde6be4a0891e3a78a6039d884d11f7e9ebb1e9c8a177a5414317fb19
-SIZE (dmd.1.075.zip) = 11719324
+SHA256 (dmd.1.076.zip) = 240ca0e64cf33b475ed4751fe70686c6cfbc1ca6e763bc9bddd675e18b9d6a77
+SIZE (dmd.1.076.zip) = 12890444
diff --git a/lang/dmd/files/patch-src-dmd-posix.mak b/lang/dmd/files/patch-src-dmd-posix.mak
index 63b364d3c071..4cb15ff22a73 100644
--- a/lang/dmd/files/patch-src-dmd-posix.mak
+++ b/lang/dmd/files/patch-src-dmd-posix.mak
@@ -1,38 +1,10 @@
---- ../../src/dmd/posix.mak.orig 2012-04-10 22:34:58.000000000 -0700
-+++ ../../src/dmd/posix.mak 2012-04-14 23:37:37.562325386 -0700
-@@ -29,8 +29,6 @@
+--- ../../src/dmd/posix.mak.orig 2012-12-31 12:16:46.000000000 -0800
++++ ../../src/dmd/posix.mak 2013-01-30 16:20:15.160587655 -0800
+@@ -49,7 +49,6 @@
TK=tk
ROOT=root
-MODEL=32
--
- ifeq (OSX,$(TARGET))
- ## See: http://developer.apple.com/documentation/developertools/conceptual/cross_development/Using/chapter_3_section_2.html#//apple_ref/doc/uid/20002000-1114311-BABGCAAB
- ENVP= MACOSX_DEPLOYMENT_TARGET=10.3
-@@ -48,7 +46,7 @@
+ ifneq (x,x$(MODEL))
+ MODEL_FLAG=-m$(MODEL)
endif
-
- HOST_CC=g++
--CC=$(HOST_CC) -m$(MODEL) $(TARGET_CFLAGS)
-+CC=$(HOST_CC) $(TARGET_CFLAGS)
-
- #OPT=-g -g3
- #OPT=-O2
-@@ -144,7 +142,7 @@
- all: dmd
-
- dmd: $(DMD_OBJS)
-- $(ENVP) $(HOST_CC) -o dmd -m$(MODEL) $(COV) $(DMD_OBJS) $(LDFLAGS)
-+ $(ENVP) $(HOST_CC) -o dmd $(COV) $(DMD_OBJS) $(LDFLAGS)
-
- clean:
- rm -f $(DMD_OBJS) dmd optab.o id.o impcnvgen idgen id.c id.h \
-@@ -523,7 +521,7 @@
- $(CC) -c $(GFLAGS) -I$(ROOT) $<
-
- strtold.o: $C/strtold.c
-- gcc -m$(MODEL) -I$(ROOT) -c $<
-+ gcc -I$(ROOT) -c $<
-
- struct.o: struct.c
- $(CC) -c $(CFLAGS) $<
diff --git a/lang/dmd/pkg-plist b/lang/dmd/pkg-plist
index 0f744ad7b0b9..4c4301c2dafa 100644
--- a/lang/dmd/pkg-plist
+++ b/lang/dmd/pkg-plist
@@ -54,9 +54,6 @@ include/d/phobos/std/c/math.d
include/d/phobos/std/c/openbsd/openbsd.d
include/d/phobos/std/c/openbsd/pthread.d
include/d/phobos/std/c/openbsd/socket.d
-include/d/phobos/std/c/osx/dyld.d
-include/d/phobos/std/c/osx/getsect.d
-include/d/phobos/std/c/osx/loader.d
include/d/phobos/std/c/osx/mach/dyld.d
include/d/phobos/std/c/osx/mach/getsect.d
include/d/phobos/std/c/osx/mach/loader.d