[64612] trunk/dports/textproc/dos2unix/Portfile
jmr at macports.org
jmr at macports.org
Wed Mar 10 15:11:46 PST 2010
Revision: 64612
http://trac.macports.org/changeset/64612
Author: jmr at macports.org
Date: 2010-03-10 15:11:46 -0800 (Wed, 10 Mar 2010)
Log Message:
-----------
dos2unix: update to 4.1.2 (#23726), support build_arch
Modified Paths:
--------------
trunk/dports/textproc/dos2unix/Portfile
Modified: trunk/dports/textproc/dos2unix/Portfile
===================================================================
--- trunk/dports/textproc/dos2unix/Portfile 2010-03-10 23:11:36 UTC (rev 64611)
+++ trunk/dports/textproc/dos2unix/Portfile 2010-03-10 23:11:46 UTC (rev 64612)
@@ -3,7 +3,7 @@
PortSystem 1.0
name dos2unix
-version 4.1
+version 4.1.2
license FreeBSD
categories textproc
platforms darwin
@@ -13,9 +13,9 @@
master_sites http://www.xs4all.nl/~waterlan/dos2unix/ sourceforge
homepage http://www.xs4all.nl/~waterlan/dos2unix.html
-checksums md5 11a52e01342e588584a92588291e7dae \
- sha1 db9b0434521c2348faab6d948f1f7938adba500a \
- rmd160 21ce3916ec698587d1b11ea4c3d8ce74f17f7f2a
+checksums md5 2849bf7b8ec51884e61d12ec98cb1b16 \
+ sha1 75301f996afe0d7864dedbf9b842dce862ed4815 \
+ rmd160 f6e9d88b72b5f305e166d706fb12b9bb49a40efc
depends_lib port:gettext
@@ -27,6 +27,10 @@
set LDFLAGS_EXTRA "${configure.ldflags} -lintl"
pre-build {
+ if {![variant_isset universal]} {
+ append CFLAGS_OS " ${configure.cc_archflags}"
+ append LDFLAGS_EXTRA " ${configure.cc_archflags}"
+ }
build.args-append \
CFLAGS_OS="${CFLAGS_OS}" \
LDFLAGS_EXTRA="${LDFLAGS_EXTRA}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100310/49438eee/attachment.html>
More information about the macports-changes
mailing list