[96255] trunk/dports/comms/gnokii

raimue at macports.org raimue at macports.org
Mon Aug 6 09:27:45 PDT 2012


Revision: 96255
          https://trac.macports.org/changeset/96255
Author:   raimue at macports.org
Date:     2012-08-06 09:27:41 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
comms/gnokii:
Update to version 0.6.31, disable bluetooth as that does not work on recent
versions of Mac OS X. Maintainer timeout on #34162.

Modified Paths:
--------------
    trunk/dports/comms/gnokii/Portfile

Removed Paths:
-------------
    trunk/dports/comms/gnokii/files/

Modified: trunk/dports/comms/gnokii/Portfile
===================================================================
--- trunk/dports/comms/gnokii/Portfile	2012-08-06 15:34:45 UTC (rev 96254)
+++ trunk/dports/comms/gnokii/Portfile	2012-08-06 16:27:41 UTC (rev 96255)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name                    gnokii
-version                 0.6.27
-revision                1
+version                 0.6.31
 categories              comms
 platforms       darwin
 maintainers             mpal1+bugzilla at ieee.org
@@ -26,14 +25,12 @@
                         http://ftp.slackware.pl/pub/gnokii/gnokii/ \
                         http://ftp.slackware.pl/pub/gnokii/gnokii/0.6.x/
 
-checksums               md5 fd0ae7996a2e2a2c29e9f3c625df8f3d \
-                sha1 a7c6f9fa56bfe01e3c8e719bb8585a24469fe1e7
+checksums               rmd160 a828dab090c8f6decd28ca2f7c9923df0df28c32 \
+                        sha1 b053ed2327997b5730bddc4b63d77388f9fff08c
 
 depends_build           port:intltool
 depends_lib             port:gtk2 port:libical port:libusb-compat port:iso-codes port:readline
 
-patchfiles      fink-fixes.diff
-patch.args      -p1
 post-patch {
     reinplace "s|/etc/gnokiirc|${prefix}/etc/gnokiirc|" ${worksrcpath}/common/cfgreader.c
     reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Docs/sample/gnokiirc
@@ -43,7 +40,8 @@
 configure.args          --enable-security \
                     --disable-smsd \
                     --with-libiconv-prefix=${prefix} \
-                    --with-readline=${prefix}
+                    --with-readline=${prefix} \
+                    --disable-bluetooth
 
 post-activate {
     if {![file exists ${prefix}/etc/gnokiirc]} {
@@ -56,6 +54,14 @@
   configure.args-append --without-x
 }
 
+# bluetooth does not work anymore on recent versions of Mac OS X, see #34162
+variant bluetooth description {Enable support for bluetooth (broken on Mac OS X >=10.7)} {
+    configure.args-replace --disable-bluetooth --enable-bluetooth
+    platform macosx {
+        configure.ldflags-append -framework IOBluetooth
+    }
+}
+
 platform macosx {
-  configure.ldflags-append    -framework IOBluetooth -framework CoreFoundation
+  configure.ldflags-append -framework CoreFoundation
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/54abc13d/attachment-0001.html>


More information about the macports-changes mailing list