[36524] users/ryandesign/pure-devel

ryandesign at macports.org ryandesign at macports.org
Mon May 5 00:15:39 PDT 2008


Revision: 36524
          http://trac.macosforge.org/projects/macports/changeset/36524
Author:   ryandesign at macports.org
Date:     2008-05-05 00:15:29 -0700 (Mon, 05 May 2008)

Log Message:
-----------
pure-devel:

 * update to upstream revision 54
 * remove util.cc patch applied upstream
 * add new patch to undo upstream change which ruins the manpage install location
 * add new patch to fix dynamic loading on Mac OS X

Revision Links:
--------------
    http://trac.macosforge.org/projects/macports/changeset/54

Modified Paths:
--------------
    users/ryandesign/pure-devel/Portfile

Added Paths:
-----------
    users/ryandesign/pure-devel/files/patch-Makefile-mandir.diff
    users/ryandesign/pure-devel/files/patch-Makefile-nostrip.diff

Removed Paths:
-------------
    users/ryandesign/pure-devel/files/patch-util.cc.diff

Modified: users/ryandesign/pure-devel/Portfile
===================================================================
--- users/ryandesign/pure-devel/Portfile	2008-05-05 07:06:52 UTC (rev 36523)
+++ users/ryandesign/pure-devel/Portfile	2008-05-05 07:15:29 UTC (rev 36524)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 
 name                    pure-devel
-version                 0.1.0.r34
+version                 0.2.0.r54
 categories              lang
 platforms               darwin
 maintainers             ryandesign
@@ -45,8 +45,13 @@
     port:readline
 
 patchfiles \
-    patch-util.cc.diff
+    patch-Makefile-mandir.diff
 
+platform darwin {
+    patchfiles-append \
+        patch-Makefile-nostrip.diff
+}
+
 build.args \
     prefix=${prefix} \
     build=release

Added: users/ryandesign/pure-devel/files/patch-Makefile-mandir.diff
===================================================================
--- users/ryandesign/pure-devel/files/patch-Makefile-mandir.diff	                        (rev 0)
+++ users/ryandesign/pure-devel/files/patch-Makefile-mandir.diff	2008-05-05 07:15:29 UTC (rev 36524)
@@ -0,0 +1,11 @@
+--- Makefile	(revision 54)
++++ Makefile	(working copy)
+@@ -15,7 +15,7 @@
+ prefix = /usr/local
+ bindir = $(prefix)/bin
+ libdir = $(prefix)/lib/pure
+-mandir = $(prefix)/man/man1
++mandir = $(prefix)/share/man/man1
+ 
+ DESTDIR=
+ 

Added: users/ryandesign/pure-devel/files/patch-Makefile-nostrip.diff
===================================================================
--- users/ryandesign/pure-devel/files/patch-Makefile-nostrip.diff	                        (rev 0)
+++ users/ryandesign/pure-devel/files/patch-Makefile-nostrip.diff	2008-05-05 07:15:29 UTC (rev 36524)
@@ -0,0 +1,11 @@
+--- Makefile	(revision 54)
++++ Makefile	(working copy)
+@@ -144,7 +144,7 @@
+ 
+ install: pure $(lib)
+ 	install -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)
+-	install -s pure $(DESTDIR)$(bindir)/pure
++	install pure $(DESTDIR)$(bindir)/pure
+ 	install -m 644 $(lib) $(DESTDIR)$(libdir)
+ 	install -m 644 pure.1 $(DESTDIR)$(mandir)/pure.1
+ 

Deleted: users/ryandesign/pure-devel/files/patch-util.cc.diff
===================================================================
--- users/ryandesign/pure-devel/files/patch-util.cc.diff	2008-05-05 07:06:52 UTC (rev 36523)
+++ users/ryandesign/pure-devel/files/patch-util.cc.diff	2008-05-05 07:15:29 UTC (rev 36524)
@@ -1,31 +0,0 @@
-Index: util.cc
-===================================================================
---- util.cc	(revision 29)
-+++ util.cc	(working copy)
-@@ -455,7 +455,7 @@
-     char *inbuf = (char*)s, *outbuf = t; // const char* -> char*. Ugh.
-     size_t inbytes = l, outbytes = l;
- 
--    while (iconv(ic, &inbuf, &inbytes, &outbuf, &outbytes) ==
-+    while (iconv(ic, (const char**)&inbuf, &inbytes, &outbuf, &outbytes) ==
- 	   (size_t)-1)
-       if (errno == E2BIG) {
- 	/* try to enlarge the output buffer */
-@@ -508,7 +508,7 @@
-     char *inbuf = (char*)s, *outbuf = t; // const char* -> char*. Ugh.
-     size_t inbytes = l, outbytes = l;
- 
--    while (iconv(ic, &inbuf, &inbytes, &outbuf, &outbytes) ==
-+    while (iconv(ic, (const char**)&inbuf, &inbytes, &outbuf, &outbytes) ==
- 	   (size_t)-1)
-       if (errno == E2BIG) {
- 	/* try to enlarge the output buffer */
-@@ -580,7 +580,7 @@
-     char *inbuf = s; wchar_t *outbuf = t;
-     size_t inbytes = l, outbytes = l*sizeof(wchar_t);
- 
--    if (iconv(myic[1], &inbuf, &inbytes, (char**)&outbuf, &outbytes) ==
-+    if (iconv(myic[1], (const char**)&inbuf, &inbytes, (char**)&outbuf, &outbytes) ==
- 	(size_t)-1)
-       return NULL;
-     /* terminate the output string */

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080505/22946321/attachment.html


More information about the macports-changes mailing list