[90283] trunk/dports/devel/libconfig-hr/Portfile

jmr at macports.org jmr at macports.org
Wed Feb 29 07:29:17 PST 2012


Revision: 90283
          http://trac.macports.org/changeset/90283
Author:   jmr at macports.org
Date:     2012-02-29 07:29:17 -0800 (Wed, 29 Feb 2012)
Log Message:
-----------
libconfig-hr: avoid building against old installed copies of libs (#28714), update to 1.4.8, set license

Modified Paths:
--------------
    trunk/dports/devel/libconfig-hr/Portfile

Modified: trunk/dports/devel/libconfig-hr/Portfile
===================================================================
--- trunk/dports/devel/libconfig-hr/Portfile	2012-02-29 14:35:42 UTC (rev 90282)
+++ trunk/dports/devel/libconfig-hr/Portfile	2012-02-29 15:29:17 UTC (rev 90283)
@@ -4,16 +4,17 @@
 PortSystem      1.0
 
 name            libconfig-hr
-version         1.4.7
+version         1.4.8
 categories      devel
+license         LGPL-2.1+
 maintainers     nomaintainer
 platforms       darwin
 homepage        http://www.hyperrealm.com/libconfig/
 master_sites    ${homepage}
 distname        libconfig-${version}
 
-checksums       sha1    59381339351e2901520cf2f170c8b4703e58833d \
-                rmd160  2f6eab75aaf92df2553506e61501d745742746b5
+checksums       rmd160 15b51fa89692199f89cd4f3436519525ac93bb19 \
+                sha256 18b1509fbf438a8c7f9b0af32284e458189b5f6dfd044f898926109f3c3c01ed
 
 description \
     A new libconfig implementation with both C and C++ bindings.
@@ -23,18 +24,12 @@
     completely new API, pkg-config support  and superior documentation. \
     This port is incompatible with the older port libconfig which should be \
     deactivated or uninstalled prior to installation of this port.
- 
-pre-configure {
-    if {[file exists ${prefix}/include/libconfig.h]} {
-        if {![file exists ${prefix}/include/libconfig.h++]} {
-             error "
 
-****     Port libconfig is installed and must be deactivated
-****     or uninstalled before this port can be installed.
-"
-        }
-    }
-}
+# internal flags aren't placed first in tests/Makefile
+# luckily there are no deps, so the following suffices to avoid picking up an
+# installed version (ticket #28714)
+configure.cppflags
+configure.ldflags
 
 livecheck.type  regex
 livecheck.url   ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120229/e6d12d09/attachment.html>


More information about the macports-changes mailing list