diff options
author | dim <dim@FreeBSD.org> | 2011-11-30 02:36:34 +0800 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-11-30 02:36:34 +0800 |
commit | b0f1830dd820e2e78b70d44482ddb93c450ea785 (patch) | |
tree | 56adf978687e6ae29495c6d0a7ff3a71216bc5f5 /lang | |
parent | 20c3423ec082f29d34ecaebcdc0c6c96fa4e2de6 (diff) | |
download | freebsd-ports-gnome-b0f1830dd820e2e78b70d44482ddb93c450ea785.tar.gz freebsd-ports-gnome-b0f1830dd820e2e78b70d44482ddb93c450ea785.tar.zst freebsd-ports-gnome-b0f1830dd820e2e78b70d44482ddb93c450ea785.zip |
Add some patches to make this port build with clang.
Feature safe: yes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/rexx-wrapper/Makefile | 8 | ||||
-rw-r--r-- | lang/rexx-wrapper/files/patch-configur | 11 | ||||
-rw-r--r-- | lang/rexx-wrapper/files/patch-rexxwrap.cmd | 19 |
3 files changed, 31 insertions, 7 deletions
diff --git a/lang/rexx-wrapper/Makefile b/lang/rexx-wrapper/Makefile index eb957b4ced61..e080a276f5fe 100644 --- a/lang/rexx-wrapper/Makefile +++ b/lang/rexx-wrapper/Makefile @@ -23,10 +23,4 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-rexx=regina DATADIR= ${PREFIX}/share/rexx${PORTNAME} -.include <bsd.port.pre.mk> - -.if ${CC} == "clang" -BROKEN= Does not configure with clang -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/lang/rexx-wrapper/files/patch-configur b/lang/rexx-wrapper/files/patch-configur new file mode 100644 index 000000000000..010d5322bcb8 --- /dev/null +++ b/lang/rexx-wrapper/files/patch-configur @@ -0,0 +1,11 @@ +--- configur.orig 2003-06-30 09:39:59.000000000 +0200 ++++ configur 2011-11-29 13:21:17.000000000 +0100 +@@ -1476,7 +1476,7 @@ + + + +-CC_LIST="gcc cc c89 acc" ++CC_LIST="gcc clang cc c89 acc" + + mh_sysv_incdir="" + mh_sysv_libdir="" diff --git a/lang/rexx-wrapper/files/patch-rexxwrap.cmd b/lang/rexx-wrapper/files/patch-rexxwrap.cmd new file mode 100644 index 000000000000..22f251d6720e --- /dev/null +++ b/lang/rexx-wrapper/files/patch-rexxwrap.cmd @@ -0,0 +1,19 @@ +--- rexxwrap.cmd.orig 2006-09-22 01:16:29.000000000 +0200 ++++ rexxwrap.cmd 2011-11-29 13:21:17.000000000 +0100 +@@ -84,7 +84,7 @@ + implib.unirexx = 'rxx' + + compiler.win32 = 'cygwin ming vc wcc borland lcc' +-compiler.unix = 'gcc cc c89 egcs xlc' ++compiler.unix = 'gcc clang cc c89 egcs xlc' + compiler.qnx = 'cc' + compiler.os2 = 'gcc emxos2 emxdos wcc' + compiler.dos = 'djgpp' +@@ -718,6 +718,7 @@ + If _debug > 0 Then opt = '-g -DREXXWRAPPER_DEBUG='_debug + Else opt = '-O' + cc.gcc = 'gcc' ++ cc.clang='clang' + cc.egcs = 'egcs' + cc.cc = 'cc' + cc.xlc = 'xlc' |