[114662] trunk/dports/graphics/dcmtk/Portfile
eborisch at macports.org
eborisch at macports.org
Fri Dec 13 08:15:56 PST 2013
Revision: 114662
https://trac.macports.org/changeset/114662
Author: eborisch at macports.org
Date: 2013-12-13 08:15:55 -0800 (Fri, 13 Dec 2013)
Log Message:
-----------
dcmtk: Use snapshot to enable building on Mavericks.
Modified Paths:
--------------
trunk/dports/graphics/dcmtk/Portfile
Modified: trunk/dports/graphics/dcmtk/Portfile
===================================================================
--- trunk/dports/graphics/dcmtk/Portfile 2013-12-13 16:13:55 UTC (rev 114661)
+++ trunk/dports/graphics/dcmtk/Portfile 2013-12-13 16:15:55 UTC (rev 114662)
@@ -28,19 +28,39 @@
homepage http://dicom.offis.de/dcmtk
-master_sites ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk${stripped_version}/ \
- http://dicom.offis.de/download/dcmtk/dcmtk${stripped_version}/
+master_sites \
+ ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk${stripped_version}/ \
+ http://dicom.offis.de/download/dcmtk/dcmtk${stripped_version}/
distname ${name}-${unpatched_version}
-distfiles ${distname}${extract.suffix}
checksums md5 19409e039e29a330893caea98715390e \
sha1 469e017cffc56f36e834aa19c8612111f964f757 \
rmd160 ad80a4b6cff9ed275e6153036bdce9e2d912721b
+platform darwin {
+ if {${os.major} >= 13} {
+ pre-activate {
+ ui_warn "$name is uses a pre-release (snapshot) on Mavericks."
+ }
+ version 3.6.1_20131114
+ revision 0
+ distname ${name}-${version}
+ checksums md5 c01122c169b8a4b372c41d8f7ba69447 \
+ sha1 a6b5f8b1f4a78a3955e2084919f9b9e346f1c6de \
+ rmd160 d1e01ab94199303b799cd8c52296bd6c610f011f
+ master_sites http://dicom.offis.de/download/dcmtk/snapshot
+ } else {
+ # TODO: This project has buggy C++ which clang rejects
+ compiler.blacklist-append *clang*
+ patchfiles patch-config-configure.diff
+ }
+}
+
+distfiles ${distname}${extract.suffix}
+
depends_lib port:zlib
-patchfiles patch-config-configure.diff
# To enable building while previous version is in ${prefix}
@@ -76,22 +96,6 @@
use_parallel_build no
-# TODO: This project has buggy C++ which clang rejects
-compiler.blacklist-append *clang*
-
-platform darwin {
- if {${os.major} >= 13} {
- # This project needs to be updated to build with clang++ against libc++
- depends_lib
- depends_run
- pre-fetch {
- ui_error "$name does not build on Mavericks or later."
- error "unsupported platform"
- }
- }
-}
-
-
variant private description "Install private tags dictionary" {
configure.args-append --with-private-tags
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131213/2fee7a0a/attachment.html>
More information about the macports-changes
mailing list