1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Update 1.075 --> 1.076

This commit is contained in:
Cy Schubert 2013-01-31 02:32:38 +00:00
parent 0da441f125
commit 0416b39649
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311283
4 changed files with 14 additions and 39 deletions

View File

@ -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}|" \

View File

@ -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

View File

@ -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) $<

View File

@ -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