diff options
author | vanilla <vanilla@FreeBSD.org> | 2011-06-21 09:53:27 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2011-06-21 09:53:27 +0800 |
commit | 558db6dce27d23ddb2b0d92e7669e07bef357594 (patch) | |
tree | 52c07d2ce369bdfc0341486644445d2ff8191fad | |
parent | e08b8654431a4e96ca8a1ae9801fab90afe81753 (diff) | |
download | freebsd-ports-graphics-558db6dce27d23ddb2b0d92e7669e07bef357594.tar.gz freebsd-ports-graphics-558db6dce27d23ddb2b0d92e7669e07bef357594.tar.zst freebsd-ports-graphics-558db6dce27d23ddb2b0d92e7669e07bef357594.zip |
Fix build with clang.
-rw-r--r-- | devel/spdict/Makefile | 1 | ||||
-rw-r--r-- | devel/spdict/distinfo | 1 | ||||
-rw-r--r-- | devel/spdict/files/patch-Makefile | 14 |
3 files changed, 15 insertions, 1 deletions
diff --git a/devel/spdict/Makefile b/devel/spdict/Makefile index eb47c02dd56..c90e71627c1 100644 --- a/devel/spdict/Makefile +++ b/devel/spdict/Makefile @@ -7,6 +7,7 @@ PORTNAME= spdict PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PORTNAME}-${PORTVERSION}.src diff --git a/devel/spdict/distinfo b/devel/spdict/distinfo index c78b86e525b..69e2ead6653 100644 --- a/devel/spdict/distinfo +++ b/devel/spdict/distinfo @@ -1,3 +1,2 @@ -MD5 (spdict-0.3.src.tar.gz) = 58fcd8af04a4ee6d9e9fe77136af5c7c SHA256 (spdict-0.3.src.tar.gz) = 70e6641b664d733bf7a9662a82fef8f3b586ce535625d726ec406a4d31d55697 SIZE (spdict-0.3.src.tar.gz) = 104865 diff --git a/devel/spdict/files/patch-Makefile b/devel/spdict/files/patch-Makefile new file mode 100644 index 00000000000..4e7184e872f --- /dev/null +++ b/devel/spdict/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig 2011-06-21 09:13:26.000000000 +0800 ++++ Makefile 2011-06-21 09:13:41.000000000 +0800 +@@ -1,9 +1,9 @@ + + #-------------------------------------------------------------------- + +-CC = gcc ++#CC = gcc + AR = ar cru +-CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC ++CFLAGS += -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC + SOFLAGS = -shared + LDFLAGS = -lstdc++ -lpthread + |