mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Update 1.068 --> 1.069.
Remove 32-bit only build restriction.
This commit is contained in:
parent
a33e1e3ece
commit
a23070064e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279081
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= dmd
|
||||
PORTVERSION= 1.068
|
||||
PORTVERSION= 1.069
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= http://ftp.digitalmars.com/
|
||||
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
||||
@ -15,7 +15,6 @@ MAINTAINER= cy@FreeBSD.org
|
||||
COMMENT= Official compiler for the D 1.0 programming language
|
||||
|
||||
NO_PACKAGE= Packages are not validation-tested by the developer
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_ZIP= yes
|
||||
MAN1= dmd.1
|
||||
MAN5= dmd.conf.5
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (dmd.1.068.zip) = adbefa6845425f54af56335e98e9e95a25e02a991e98e96895f2ae75d35e2bea
|
||||
SIZE (dmd.1.068.zip) = 10445213
|
||||
SHA256 (dmd.1.069.zip) = e19ba79c98e1cc4d9acea1bbe4833f9820922aec310f404e856ee5154b59ac16
|
||||
SIZE (dmd.1.069.zip) = 10975065
|
||||
|
31
lang/dmd/files/patch-src-dmd-freebsd.mak
Normal file
31
lang/dmd/files/patch-src-dmd-freebsd.mak
Normal file
@ -0,0 +1,31 @@
|
||||
--- ../../src/dmd/freebsd.mak.orig 2011-07-09 11:27:44.000000000 -0700
|
||||
+++ ../../src/dmd/freebsd.mak 2011-08-06 21:26:42.816062642 -0700
|
||||
@@ -3,9 +3,7 @@
|
||||
TK=tk
|
||||
ROOT=root
|
||||
|
||||
-MODEL=32
|
||||
-
|
||||
-CC=g++ -m$(MODEL)
|
||||
+CC=c++
|
||||
|
||||
#OPT=-g -g3
|
||||
#OPT=-O2
|
||||
@@ -95,7 +93,7 @@
|
||||
all: dmd
|
||||
|
||||
dmd: $(DMD_OBJS)
|
||||
- gcc -m$(MODEL) -lstdc++ -lpthread $(COV) $(DMD_OBJS) -o dmd
|
||||
+ cc -lstdc++ -lpthread $(COV) $(DMD_OBJS) -o dmd
|
||||
|
||||
clean:
|
||||
rm -f $(DMD_OBJS) dmd optab.o id.o impcnvgen idgen id.c id.h \
|
||||
@@ -468,7 +466,7 @@
|
||||
$(CC) -c $(GFLAGS) -I$(ROOT) $<
|
||||
|
||||
strtold.o: $C/strtold.c
|
||||
- gcc -m$(MODEL) -c $C/strtold.c
|
||||
+ cc -c $C/strtold.c
|
||||
|
||||
struct.o: struct.c
|
||||
$(CC) -c $(CFLAGS) $<
|
42
lang/dmd/files/patch-src-phobos-freebsd.mak
Normal file
42
lang/dmd/files/patch-src-phobos-freebsd.mak
Normal file
@ -0,0 +1,42 @@
|
||||
--- ../../src/phobos/freebsd.mak.orig 2011-06-24 17:47:13.431230979 -0700
|
||||
+++ ../../src/phobos/freebsd.mak 2011-06-24 17:49:46.357713495 -0700
|
||||
@@ -12,12 +12,11 @@
|
||||
LIB=libphobos.a
|
||||
|
||||
MAKEFILE=freebsd.mak
|
||||
-MODEL=32
|
||||
|
||||
-CFLAGS=-O -m$(MODEL)
|
||||
+CFLAGS=-O
|
||||
#CFLAGS=-g -m$(MODEL)
|
||||
|
||||
-DFLAGS=-O -release -w -m$(MODEL)
|
||||
+DFLAGS=-O -release -w
|
||||
#DFLAGS=-unittest -w -m$(MODEL)
|
||||
|
||||
RM=rm -f
|
||||
@@ -248,7 +247,7 @@
|
||||
./unittest
|
||||
|
||||
cov : $(SRCS) $(LIB)
|
||||
- $(DMD) -cov -unittest -ofcov -m$(MODEL) unittest.d $(SRCS) $(LIB)
|
||||
+ $(DMD) -cov -unittest -ofcov unittest.d $(SRCS) $(LIB)
|
||||
./cov
|
||||
|
||||
|
||||
@@ -258,13 +257,13 @@
|
||||
# cd internal/gc
|
||||
# make -f $(MAKEFILE) dmgc.a
|
||||
# cd ../..
|
||||
- make DMD=$(DMD) MODEL=$(MODEL) -C ./internal/gc -f $(MAKEFILE)
|
||||
+ make DMD=$(DMD) -C ./internal/gc -f $(MAKEFILE)
|
||||
|
||||
$(ZLIB_OBJS):
|
||||
# cd etc/c/zlib
|
||||
# make -f $(MAKEFILE)
|
||||
# cd ../../..
|
||||
- make -C ./etc/c/zlib -f $(MAKEFILE) MODEL=$(MODEL)
|
||||
+ make -C ./etc/c/zlib -f $(MAKEFILE)
|
||||
|
||||
###
|
||||
|
@ -51,6 +51,9 @@ include/d/phobos/std/c/linux/pthread.d
|
||||
include/d/phobos/std/c/linux/socket.d
|
||||
include/d/phobos/std/c/locale.d
|
||||
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
|
||||
@ -170,6 +173,7 @@ include/d/phobos/unittest.d
|
||||
@dirrm include/d/phobos/std/c/solaris
|
||||
@dirrm include/d/phobos/std/c/posix
|
||||
@dirrm include/d/phobos/std/c/osx
|
||||
@dirrm include/d/phobos/std/c/openbsd
|
||||
@dirrm include/d/phobos/std/c/linux
|
||||
@dirrm include/d/phobos/std/c/freebsd
|
||||
@dirrm include/d/phobos/std/c
|
||||
|
Loading…
Reference in New Issue
Block a user