[81039] trunk/dports/graphics/dcmtk

eborisch at macports.org eborisch at macports.org
Sat Jul 23 21:27:57 PDT 2011


Revision: 81039
          http://trac.macports.org/changeset/81039
Author:   eborisch at macports.org
Date:     2011-07-23 21:27:55 -0700 (Sat, 23 Jul 2011)
Log Message:
-----------
dcmtk: Patch for building on Lion. Will report upstream. Simple change to catch Darwin 11 in configure.

Modified Paths:
--------------
    trunk/dports/graphics/dcmtk/Portfile

Added Paths:
-----------
    trunk/dports/graphics/dcmtk/files/
    trunk/dports/graphics/dcmtk/files/patch-config-configure.diff

Modified: trunk/dports/graphics/dcmtk/Portfile
===================================================================
--- trunk/dports/graphics/dcmtk/Portfile	2011-07-24 03:55:42 UTC (rev 81038)
+++ trunk/dports/graphics/dcmtk/Portfile	2011-07-24 04:27:55 UTC (rev 81039)
@@ -39,6 +39,8 @@
 
 depends_lib             port:zlib 
 
+patchfiles              patch-config-configure.diff
+
 # To enable building while previous version is in ${prefix}
 
 post-extract {

Added: trunk/dports/graphics/dcmtk/files/patch-config-configure.diff
===================================================================
--- trunk/dports/graphics/dcmtk/files/patch-config-configure.diff	                        (rev 0)
+++ trunk/dports/graphics/dcmtk/files/patch-config-configure.diff	2011-07-24 04:27:55 UTC (rev 81039)
@@ -0,0 +1,20 @@
+--- config/configure.orig	2011-07-23 23:12:53.000000000 -0500
++++ config/configure	2011-07-23 23:13:53.000000000 -0500
+@@ -21338,7 +21338,7 @@
+ 	  ;;
+ 	*-*-netbsdelf2*)
+ 	  ;;
+-	*-*-darwin[8-9].*|*-*-darwin10.*)
++	*-*-darwin[8-9].*|*-*-darwin1[0-1].*)
+ 	  	  CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
+ 	  CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
+ 	  ;;
+@@ -21410,7 +21410,7 @@
+ 	  ;;
+ 	*-*-netbsdelf2*)
+ 	  ;;
+-	*-*-darwin[8-9].*|*-*-darwin10.*)
++	*-*-darwin[8-9].*|*-*-darwin1[0-1].*)
+ 	  	  CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
+ 	  CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
+ 	  ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110723/ba9ba666/attachment.html>


More information about the macports-changes mailing list