[109035] trunk/dports/devel/libnewt

ryandesign at macports.org ryandesign at macports.org
Tue Aug 6 18:16:37 PDT 2013


Revision: 109035
          https://trac.macports.org/changeset/109035
Author:   ryandesign at macports.org
Date:     2013-08-06 18:16:36 -0700 (Tue, 06 Aug 2013)
Log Message:
-----------
libnewt: update to 0.52.16

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

Modified: trunk/dports/devel/libnewt/Portfile
===================================================================
--- trunk/dports/devel/libnewt/Portfile	2013-08-06 21:32:14 UTC (rev 109034)
+++ trunk/dports/devel/libnewt/Portfile	2013-08-07 01:16:36 UTC (rev 109035)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                libnewt
-version             0.52.15
+version             0.52.16
 categories          devel
 platforms           darwin
 maintainers         ryandesign openmaintainer
@@ -24,10 +24,9 @@
 
 distname            newt-${version}
 
-checksums           rmd160  c56d228244530a7a690802700980dce6fb3864a9 \
-                    sha256  7a6151923e7a8a950f9a8a21668a5780d09b0f35f9d76a7ec606c71c35a0e241
+checksums           rmd160  0e575dd60b95f2b4fd748f98793be97168793a5f \
+                    sha256  1b9574bc9c8fb7b25cd26e5c3f2840e8c17fde5dd09c759604925919b3589cd3
 
-
 depends_lib         port:gettext \
                     port:popt \
                     port:tcl \

Modified: trunk/dports/devel/libnewt/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/devel/libnewt/files/patch-Makefile.in.diff	2013-08-06 21:32:14 UTC (rev 109034)
+++ trunk/dports/devel/libnewt/files/patch-Makefile.in.diff	2013-08-07 01:16:36 UTC (rev 109035)
@@ -1,5 +1,5 @@
---- Makefile.in.orig	2013-03-25 09:16:36.000000000 -0500
-+++ Makefile.in	2013-05-20 21:25:47.000000000 -0500
+--- Makefile.in.orig	2013-08-06 10:46:42.000000000 -0500
++++ Makefile.in	2013-08-06 20:10:49.000000000 -0500
 @@ -5,8 +5,9 @@
  CPP = @CPP@
  CFLAGS = @CFLAGS@
@@ -11,25 +11,7 @@
  
  VERSION = @VERSION@
  TAG = r$(subst .,-,$(VERSION))
-@@ -20,8 +21,15 @@
- NDIALOGOBJS = whiptail.o dialogboxes.o
- WHIPTCLOBJS = shared/whiptcl.o shared/dialogboxes.o
- LIBNEWT = libnewt.a
--LIBNEWTSH = libnewt.so.$(VERSION)
--LIBNEWTSONAME = libnewt.so.$(SONAME)
-+ifeq ($(UNAME),Darwin)
-+SOEXT=dylib
-+LIBNEWTSH = libnewt.$(VERSION).$(SOEXT)
-+LIBNEWTSONAME = libnewt.$(SONAME).$(SOEXT)
-+else
-+SOEXT=so
-+LIBNEWTSH = libnewt.$(SOEXT).$(VERSION)
-+LIBNEWTSONAME = libnewt.$(SOEXT).$(SONAME)
-+endif
- LIBOBJS = newt.o button.o form.o checkbox.o entry.o label.o listbox.o \
-           scrollbar.o textbox.o scale.o grid.o windows.o buttonbar.o \
- 	  checkboxtree.o
-@@ -29,7 +37,7 @@
+@@ -35,7 +36,7 @@
  ifneq ($(GNU_LD),)
  SHLIBFLAGS= -Wl,--version-script,newt.0.52.ver -Wl,-soname,$(LIBNEWTSONAME)
  else
@@ -38,41 +20,21 @@
  endif
  
  SHCFLAGS = -fPIC
-@@ -100,7 +108,7 @@
+@@ -106,7 +107,7 @@
  	$(CC) -g -o whiptail $(NDIALOGOBJS) -L. $(LDFLAGS) -lnewt $(LIBS) -lpopt
  
- whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH)
--	$(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
-+	$(CC) -dynamiclib $(SHCFLAGS) $(LDFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
+ whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNEWTSH)
+-	$(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
++	$(CC) -dynamiclib $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
  
  $(LIBNEWT): $(LIBOBJS)
  	ar rv $@ $^
-@@ -112,7 +120,7 @@
- 
- clean:
- 	rm -f $(PROGS) *.o $(LIBNEWT) core $(LIBNEWTSH)  \
--		$(SHAREDDIR)/*.o *.so*
-+		$(SHAREDDIR)/*.o *.so* *.$(SOEXT)*
- 
- depend:
- 	$(CPP) $(CFLAGS) $(CPPFLAGS) -M $(SOURCES) > .depend
-@@ -123,8 +131,8 @@
+@@ -129,7 +130,7 @@
  sharedlib: $(LIBNEWTSH)
  
  $(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
 -	$(CC) -shared -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS)
--	ln -fs $(LIBNEWTSONAME) libnewt.so
 +	$(CC) -dynamiclib -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS)
-+	ln -fs $(LIBNEWTSONAME) libnewt.$(SOEXT)
+ 	ln -fs $(LIBNEWTSONAME) libnewt.$(SOEXT)
  	ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
  
- $(SHAREDDIR)/%.o : %.c
-@@ -146,7 +154,7 @@
- install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so
- 	[ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
- 	install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
--	ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so
-+	ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.$(SOEXT)
- 	ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME)
- 	[ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || :
- 	[ -n "$(PYTHONVERS)" ] && for ver in $(PYTHONVERS) ; do \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130806/9295f3a6/attachment.html>


More information about the macports-changes mailing list