[103165] trunk/dports/devel/fossil
ciserlohn at macports.org
ciserlohn at macports.org
Sat Feb 16 14:26:56 PST 2013
Revision: 103165
https://trac.macports.org/changeset/103165
Author: ciserlohn at macports.org
Date: 2013-02-16 14:26:55 -0800 (Sat, 16 Feb 2013)
Log Message:
-----------
fossil: update to version 1.25
* add dependency to libiconv and append appropriate ldflag
* add patch to remove gcc only option when compiling with clang
Modified Paths:
--------------
trunk/dports/devel/fossil/Portfile
Added Paths:
-----------
trunk/dports/devel/fossil/files/
trunk/dports/devel/fossil/files/patch-autosetup-cc.tcl_gstab_option_is_gcc_only.diff
Modified: trunk/dports/devel/fossil/Portfile
===================================================================
--- trunk/dports/devel/fossil/Portfile 2013-02-16 20:36:23 UTC (rev 103164)
+++ trunk/dports/devel/fossil/Portfile 2013-02-16 22:26:55 UTC (rev 103165)
@@ -4,7 +4,7 @@
PortSystem 1.0
name fossil
-version 1.24
+version 1.25
epoch 20110901182519
categories devel
platforms darwin
@@ -22,22 +22,29 @@
homepage http://www.fossil-scm.org/
master_sites ${homepage}download/
-distname ${name}-src-20121022124804
+distname ${name}-src-20130216000435
-checksums rmd160 25d511cb1f74b8d1b51ae580868a8bfd3c70958a \
- sha256 35a6bf235ae3d5615c1411587380030d3f16153bf7c0974eeb4c21335a669b3d
+checksums rmd160 794a9ec7f42593d5e228ce55a68ecedac5d5a4a9 \
+ sha256 6fc0068a9174fc24ec9323cf7fddd771320248d9befc4a417746839a442c8de1
test.run yes
depends_lib port:tcl \
port:zlib \
- port:openssl
+ port:openssl \
+ port:libiconv
configure.args-append --disable-lineedit \
--with-tcl=${prefix}/lib
configure.env-append CC_FOR_BUILD="${configure.cc} [get_canonical_archflags]"
+configure.ldflags-append -liconv
+
+if {${configure.compiler} == "clang"} {
+ patchfiles-append patch-autosetup-cc.tcl_gstab_option_is_gcc_only.diff
+}
+
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
Added: trunk/dports/devel/fossil/files/patch-autosetup-cc.tcl_gstab_option_is_gcc_only.diff
===================================================================
--- trunk/dports/devel/fossil/files/patch-autosetup-cc.tcl_gstab_option_is_gcc_only.diff (rev 0)
+++ trunk/dports/devel/fossil/files/patch-autosetup-cc.tcl_gstab_option_is_gcc_only.diff 2013-02-16 22:26:55 UTC (rev 103165)
@@ -0,0 +1,15 @@
+--- autosetup/cc.orig 2013-02-16 22:48:58.000000000 +0100
++++ autosetup/cc.tcl 2013-02-16 22:49:52.000000000 +0100
+@@ -493,12 +493,6 @@
+ }
+ lappend cmdline {*}$opts(-cflags)
+
+- switch -glob -- [get-define host] {
+- *-*-darwin* {
+- # Don't generate .dSYM directories
+- lappend cmdline -gstabs
+- }
+- }
+ lappend cmdline $src -o $tmp {*}$opts(-libs)
+
+ # At this point we have the complete command line and the
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130216/ce3b353b/attachment.html>
More information about the macports-changes
mailing list