Revision
118267
Author
toby@macports.org
Date
2014-03-27 17:33:40 -0700 (Thu, 27 Mar 2014)

Log Message

#42843

Modified Paths

Diff

Modified: trunk/dports/devel/dmalloc/Portfile (118266 => 118267)


--- trunk/dports/devel/dmalloc/Portfile	2014-03-28 00:12:20 UTC (rev 118266)
+++ trunk/dports/devel/dmalloc/Portfile	2014-03-28 00:33:40 UTC (rev 118267)
@@ -4,6 +4,7 @@
 
 name             dmalloc
 version          5.5.2
+revision         1
 categories       devel
 maintainers      toby
 description      Debug Malloc Library

Modified: trunk/dports/devel/dmalloc/files/patch-configure (118266 => 118267)


--- trunk/dports/devel/dmalloc/files/patch-configure	2014-03-28 00:12:20 UTC (rev 118266)
+++ trunk/dports/devel/dmalloc/files/patch-configure	2014-03-28 00:33:40 UTC (rev 118267)
@@ -9,3 +9,12 @@
      { echo "$as_me:$LINENO: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&5
  echo "$as_me: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&2;}
      enable_cxx=no
+@@ -4434,7 +4434,7 @@
+ 	    # 1.0 and don't create any symlinks or versioned library names.
+             # Perhaps this could be the version of the dmalloc library
+ 	    # (e.g. 5.4.0)
+-            ac_cv_shared_link_args='$(CXX) -dynamiclib -install_name $@ -compatibility_version 1 -current_version 1 -o $@.t'
++            ac_cv_shared_link_args='$(CXX) $(LDFLAGS) -dynamiclib -install_name $@ -compatibility_version 1 -current_version 1 -o $@.t'
+             # linking static archives into a dynamic lib doesn't seem to work
+             # explicitly link the object files
+             ac_cv_shared_lib_link_objs=yes