[151236] trunk/dports/devel/trio

toby at macports.org toby at macports.org
Wed Aug 10 17:18:32 PDT 2016


Revision: 151236
          https://trac.macports.org/changeset/151236
Author:   toby at macports.org
Date:     2016-08-10 17:18:32 -0700 (Wed, 10 Aug 2016)
Log Message:
-----------
trio 1.16

Modified Paths:
--------------
    trunk/dports/devel/trio/Portfile
    trunk/dports/devel/trio/files/patch-Makefile.in

Modified: trunk/dports/devel/trio/Portfile
===================================================================
--- trunk/dports/devel/trio/Portfile	2016-08-11 00:01:12 UTC (rev 151235)
+++ trunk/dports/devel/trio/Portfile	2016-08-11 00:18:32 UTC (rev 151236)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name             trio
-version          1.14
+version          1.16
 categories       devel
 maintainers      toby
 description      trio is a set of printf and string functions
@@ -17,9 +17,8 @@
 platforms        darwin
 license          MIT
 master_sites     sourceforge:ctrio
-checksums        md5    0278513e365675ca62bacb6f257b5045 \
-                 sha1   7e07039c8dd84c530c0eaf2c78c220cc952736f1 \
-                 rmd160 67fa8a7d002189a369a154315267b4fe4800c1bf
+checksums        rmd160 ce7aaa21611d5cc4c1d888d557bc0a13ad6b0e53 \
+                 sha256 84d0e74f5b25f0b6c7d9b264ef41f98908e65a5056d4e75c5ef0e05d6a69fc0a
 
 patchfiles       patch-Makefile.in
 

Modified: trunk/dports/devel/trio/files/patch-Makefile.in
===================================================================
--- trunk/dports/devel/trio/files/patch-Makefile.in	2016-08-11 00:01:12 UTC (rev 151235)
+++ trunk/dports/devel/trio/files/patch-Makefile.in	2016-08-11 00:18:32 UTC (rev 151236)
@@ -1,6 +1,15 @@
---- Makefile.in.orig	2008-10-20 02:46:00.000000000 -0700
-+++ Makefile.in	2008-11-13 01:04:35.000000000 -0800
-@@ -19,12 +19,12 @@
+--- Makefile.in.orig	2013-09-18 05:48:43.000000000 -0700
++++ Makefile.in	2016-08-10 17:16:10.000000000 -0700
+@@ -3,7 +3,7 @@
+ CFLAGS	= @CFLAGS@ -I. -DDEBUG -fPIC -fvisibility=hidden
+ OBJS	= triostr.o trio.o trionan.o
+ TARGETLIB	= libtrio.a
+-TARGETSHLIB	= $(TARGETLIB:.a=.so.2.0.0)
++TARGETSHLIB	= $(TARGETLIB:.a=.1.dylib)
+ TARGETINCS	= trio.h triop.h triodef.h trionan.h triostr.h
+ LDFLAGS	= -L. -ltrio -lm
+ AR	= ar
+@@ -20,7 +20,7 @@
  # Installation settings
  INSTALL		= @INSTALL@
  INSTALL_DATA	= @INSTALL_DATA@
@@ -9,29 +18,21 @@
  exec_prefix	= @exec_prefix@
  includedir	= @includedir@
  libdir		= @libdir@
- 
--all: $(TARGETLIB) $(TARGET)
-+all: $(TARGETLIB) $(TARGET) dylib
- 
- .PHONY: all check test install doc clean
- 
-@@ -49,6 +49,9 @@
+@@ -47,6 +47,8 @@
+ 	$(MKDIR) $(libdir)
+ 	$(MKDIR) $(includedir)
+ 	$(INSTALL_DATA) $(TARGETLIB) $(TARGETSHLIB) $(libdir)/
++	ln -s $(TARGETSHLIB) $(libdir)/libtrio.dylib
++	ln -s $(TARGETSHLIB) $(libdir)/libtrio.__VERSION__.dylib
  	for i in $(TARGETINCS);do \
  	(set -x;$(INSTALL_DATA) $(srcdir)/$$i $(includedir)); \
  	done
-+	$(INSTALL) libtrio.1.dylib $(libdir)
-+	ln -s libtrio.1.dylib $(libdir)/libtrio.dylib
-+	ln -s libtrio.1.dylib $(libdir)/libtrio.__VERSION__.dylib
- 
- regression: regression.o $(TARGETLIB)
- 	$(CC) $(CFLAGS) regression.o $(LDFLAGS) -o $@
-@@ -66,6 +69,9 @@
- 	$(AR) ruv $(TARGETLIB) $(OBJS)
+@@ -68,7 +70,7 @@
  	$(RANLIB) $(TARGETLIB)
  
-+dylib: $(TARGETLIB)
-+	$(CC) __LDFLAGS__ -dynamiclib -all_load -install_name $(prefix)/lib/libtrio.1.dylib -compatibility_version 1 -current_version __VERSION__ -o libtrio.1.dylib $(TARGETLIB)
-+
+ $(TARGETSHLIB): $(TARGETLIB)
+-	$(CC) -lm -shared -Wl,-soname,$(patsubst %.so.2.0.0,%.so.2,$@) -Wl,--whole-archive,$< -Wl,--no-whole-archive -o $@
++	$(CC) __LDFLAGS__ -dynamiclib -all_load -install_name $(prefix)/lib/$@ -compatibility_version 1 -current_version __VERSION__ -o $@ $<
+ 
  doc::
  	(cd $(srcdir) && $(GENDOC) doc/trio.cfg)
- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160810/97b0e893/attachment.html>


More information about the macports-changes mailing list