[81104] trunk/dports/databases/tokyocabinet

stromnov at macports.org stromnov at macports.org
Mon Jul 25 10:01:53 PDT 2011


Revision: 81104
          http://trac.macports.org/changeset/81104
Author:   stromnov at macports.org
Date:     2011-07-25 10:01:53 -0700 (Mon, 25 Jul 2011)
Log Message:
-----------
tokyocabinet: fix for #30339

Modified Paths:
--------------
    trunk/dports/databases/tokyocabinet/Portfile

Added Paths:
-----------
    trunk/dports/databases/tokyocabinet/files/
    trunk/dports/databases/tokyocabinet/files/patch-configure.diff

Modified: trunk/dports/databases/tokyocabinet/Portfile
===================================================================
--- trunk/dports/databases/tokyocabinet/Portfile	2011-07-25 16:56:55 UTC (rev 81103)
+++ trunk/dports/databases/tokyocabinet/Portfile	2011-07-25 17:01:53 UTC (rev 81104)
@@ -5,7 +5,7 @@
 
 name                tokyocabinet
 version             1.4.47
-revision            0
+revision            1
 categories          databases
 maintainers         stromnov openmaintainer
 platforms           darwin
@@ -28,6 +28,8 @@
                     sha1    18608ac2e6e469e20d1c36ae1117661bb47901c4 \
                     rmd160  50c6ca7d1c24ebe5b59c84a5ae46f8949258d3d7
 
+patchfiles          patch-configure.diff
+
 depends_lib         port:zlib \
                     port:bzip2
 

Added: trunk/dports/databases/tokyocabinet/files/patch-configure.diff
===================================================================
--- trunk/dports/databases/tokyocabinet/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/databases/tokyocabinet/files/patch-configure.diff	2011-07-25 17:01:53 UTC (rev 81104)
@@ -0,0 +1,29 @@
+--- configure.orig	2011-07-25 20:55:08.000000000 +0400
++++ configure	2011-07-25 20:56:44.000000000 +0400
+@@ -2066,24 +2066,14 @@
+ 
+ # Building flags
+ MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2"
+-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include"
++MYCPPFLAGS="-I. -I\$(INCLUDEDIR)"
+ MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__"
+-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
++MYLDFLAGS="-L. -L\$(LIBDIR)"
+ MYCMDLDFLAGS=""
+ MYRUNPATH="\$(LIBDIR)"
+ MYLDLIBPATHENV="LD_LIBRARY_PATH"
+ MYPOSTCMD="true"
+ 
+-# Building paths
+-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
+-CPATH="$HOME/include:/usr/local/include:$CPATH"
+-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
+-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
+-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
+-export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
+-
+-
+ 
+ #================================================================
+ # Options
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110725/db4ee56b/attachment-0001.html>


More information about the macports-changes mailing list