[30872] trunk/dports/databases/tokyocabinet

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 9 02:33:22 PST 2007


Revision: 30872
          http://trac.macosforge.org/projects/macports/changeset/30872
Author:   takanori at macports.org
Date:     2007-11-09 02:33:21 -0800 (Fri, 09 Nov 2007)

Log Message:
-----------
Version bump to 1.0.3.
Add +off64 variant. (make build with 64-bit file offset on 32-bit system)
Ticket:	   	    #13211
Submitted by:	    rsky0711 at gmail dot com

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

Removed Paths:
-------------
    trunk/dports/databases/tokyocabinet/files/patch-Makefile.in
    trunk/dports/databases/tokyocabinet/files/patch-configure

Modified: trunk/dports/databases/tokyocabinet/Portfile
===================================================================
--- trunk/dports/databases/tokyocabinet/Portfile	2007-11-09 08:59:14 UTC (rev 30871)
+++ trunk/dports/databases/tokyocabinet/Portfile	2007-11-09 10:33:21 UTC (rev 30872)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 
 name            tokyocabinet
-version         1.0.2
+version         1.0.3
 categories      databases
 maintainers     rsky0711 at gmail.com
 platforms       darwin
@@ -17,9 +17,9 @@
 homepage        http://tokyocabinet.sourceforge.net/
 master_sites    ${homepage} \
                 sourceforge:${name}
-checksums       md5    8aeb7283c7bb91ea3069920fb3ee8a36 \
-                sha1   5403071c2260b8dfe527f707cbf23f21b6a4af65 \
-                rmd160 30b9d0a088180b295f68058f3b154599958e6d0b
+checksums       md5    11a34eabaaef47e7c87a61ac1fb3bf9a \
+                sha1   ddb4975d4647f24a4277eda86947a971d2e4d5e6 \
+                rmd160 9959c7da413d03f60c766655c97333ff790cb4a9
 
 
 depends_lib     port:zlib
@@ -27,10 +27,6 @@
 configure.args  --mandir=${prefix}/share/man \
                 --datadir=${prefix}/share/doc
 
-platform darwin {
-    patchfiles-append patch-Makefile.in patch-configure
-}
-
 post-patch {
     # configure
     reinplace "s|\$HOME|\${prefix}|g" ${worksrcpath}/configure
@@ -38,11 +34,6 @@
     reinplace "s|\$(HOME)|\$(prefix)|g" ${worksrcpath}/Makefile.in
 }
 
-post-configure {
-    # tokyocabinet.pc
-    reinplace "s|@MYLDOPTS@||g" ${worksrcpath}/tokyocabinet.pc
-}
-
 test.run yes
 test.target check
 
@@ -64,6 +55,10 @@
     configure.args-append   --enable-fastest
 }
 
+variant off64 description {build with 64-bit file offset on 32-bit system} {
+    configure.args-append   --enable-off64
+}
+
 variant swap description {build for swapping byte-orders} {
     configure.args-append   --enable-swap
 }

Deleted: trunk/dports/databases/tokyocabinet/files/patch-Makefile.in
===================================================================
--- trunk/dports/databases/tokyocabinet/files/patch-Makefile.in	2007-11-09 08:59:14 UTC (rev 30871)
+++ trunk/dports/databases/tokyocabinet/files/patch-Makefile.in	2007-11-09 10:33:21 UTC (rev 30872)
@@ -1,41 +0,0 @@
---- Makefile.in.orig	2007-10-27 17:02:07.000000000 +0900
-+++ Makefile.in	2007-11-02 22:34:14.000000000 +0900
-@@ -51,8 +51,8 @@
- CFLAGS = @MYCFLAGS@
- LDFLAGS = @MYLDFLAGS@
- LIBS = @LIBS@
--LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
--RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
-+LDENV =
-+RUNENV = DYLD_LIBRARY_PATH=.:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
- POSTCMD = @MYPOSTCMD@
- 
- 
-@@ -302,17 +302,20 @@
- 	$(AR) $(ARFLAGS) $@ $(LIBOBJFILES)
- 
- 
--libtokyocabinet.so.$(LIBVER).$(LIBREV).0 : $(LIBOBJFILES)
--	$(CC) -shared -Wl,-soname,libtokyocabinet.so.$(LIBVER) -o $@ $(LIBOBJFILES) \
--	  $(LDFLAGS) $(LIBS)
-+libtokyocabinet.$(LIBVER).$(LIBREV).0.dylib : $(LIBOBJFILES)
-+	$(CC) -dynamiclib \
-+	  -install_name $(DESTDIR)$(LIBDIR)/libtokyocabinet.$(LIBVER).dylib \
-+	  -current_version $(LIBVER).$(LIBREV).0 \
-+	  -compatibility_version $(LIBVER) \
-+	  -o $@ $(LIBOBJFILES) $(LDFLAGS) $(LIBS)
- 
- 
--libtokyocabinet.so.$(LIBVER) : libtokyocabinet.so.$(LIBVER).$(LIBREV).0
--	ln -f -s libtokyocabinet.so.$(LIBVER).$(LIBREV).0 $@
-+libtokyocabinet.$(LIBVER).dylib : libtokyocabinet.$(LIBVER).$(LIBREV).0.dylib
-+	ln -f -s libtokyocabinet.$(LIBVER).$(LIBREV).0.dylib $@
- 
- 
--libtokyocabinet.so : libtokyocabinet.so.$(LIBVER).$(LIBREV).0
--	ln -f -s libtokyocabinet.so.$(LIBVER).$(LIBREV).0 $@
-+libtokyocabinet.dylib : libtokyocabinet.$(LIBVER).$(LIBREV).0.dylib
-+	ln -f -s libtokyocabinet.$(LIBVER).$(LIBREV).0.dylib $@
- 
- 
- tcutest : tcutest.o $(LIBRARYFILES)

Deleted: trunk/dports/databases/tokyocabinet/files/patch-configure
===================================================================
--- trunk/dports/databases/tokyocabinet/files/patch-configure	2007-11-09 08:59:14 UTC (rev 30871)
+++ trunk/dports/databases/tokyocabinet/files/patch-configure	2007-11-09 10:33:21 UTC (rev 30872)
@@ -1,15 +0,0 @@
---- configure.orig	2007-10-23 21:44:42.000000000 +0900
-+++ configure	2007-10-28 14:13:47.000000000 +0900
-@@ -2862,9 +2862,9 @@
- # shared libraries libraries
- if test "$enable_shared" != "no" && test "$enable_profile" != "yes"
- then
--  MYLIBRARYFILES="$MYLIBRARYFILES libtokyocabinet.so.$MYLIBVER.$MYLIBREV.0"
--  MYLIBRARYFILES="$MYLIBRARYFILES libtokyocabinet.so.$MYLIBVER"
--  MYLIBRARYFILES="$MYLIBRARYFILES libtokyocabinet.so"
-+  MYLIBRARYFILES="$MYLIBRARYFILES libtokyocabinet.$MYLIBVER.$MYLIBREV.0.dylib"
-+  MYLIBRARYFILES="$MYLIBRARYFILES libtokyocabinet.$MYLIBVER.dylib"
-+  MYLIBRARYFILES="$MYLIBRARYFILES libtokyocabinet.dylib"
- fi
- 
- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071109/5d10de12/attachment-0001.html


More information about the macports-changes mailing list