diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-11-29 18:36:34 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-11-29 18:36:34 +0000 |
commit | 3d82b066a6625b2d75e902aefc1162b0747515ac (patch) | |
tree | 40858168e0c23b7f23ef90fdb47831090a12e19f /lang/rexx-wrapper | |
parent | - Mark BROKEN: does not fetch (diff) |
Add some patches to make this port build with clang.
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=286640
Diffstat (limited to 'lang/rexx-wrapper')
-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' |