[76856] trunk/dports/devel/libnewt

raimue at macports.org raimue at macports.org
Thu Mar 10 16:03:05 PST 2011


Revision: 76856
          http://trac.macports.org/changeset/76856
Author:   raimue at macports.org
Date:     2011-03-10 16:03:02 -0800 (Thu, 10 Mar 2011)
Log Message:
-----------
devel/libnewt: Change install name of libnewt.so to an absolute path name

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	2011-03-10 23:44:40 UTC (rev 76855)
+++ trunk/dports/devel/libnewt/Portfile	2011-03-11 00:03:02 UTC (rev 76856)
@@ -5,6 +5,7 @@
 
 name                libnewt
 version             0.52.12
+revision            1
 categories          devel
 platforms           darwin
 maintainers         ryandesign openmaintainer

Modified: trunk/dports/devel/libnewt/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/devel/libnewt/files/patch-Makefile.in.diff	2011-03-10 23:44:40 UTC (rev 76855)
+++ trunk/dports/devel/libnewt/files/patch-Makefile.in.diff	2011-03-11 00:03:02 UTC (rev 76856)
@@ -1,5 +1,5 @@
---- Makefile.in.orig	2010-08-06 06:45:34.000000000 -0500
-+++ Makefile.in	2010-11-14 19:13:14.000000000 -0600
+--- Makefile.in.orig	2011-03-11 00:53:35.000000000 +0100
++++ Makefile.in	2011-03-11 00:57:11.000000000 +0100
 @@ -1,12 +1,13 @@
  LIBS = -lslang
 -LIBTCL = -ltcl8.4
@@ -17,20 +17,16 @@
  VERSION = @VERSION@
  TAG = r$(subst .,-,$(VERSION))
  SONAME = @SONAME@
-@@ -25,6 +26,12 @@
+@@ -25,6 +26,8 @@
            scrollbar.o textbox.o scale.o grid.o windows.o buttonbar.o \
  	  checkboxtree.o
  
-+ifneq ($(GNU_LD),)
-+SHLIBFLAGS= -Wl,--version-script,newt.0.52.ver -Wl,-soname,$(LIBNEWTSONAME)
-+else
-+SHLIBFLAGS=
-+endif
++SHLIBFLAGS= -install_name $(libdir)/$(LIBNEWTSH)
 +
  SHCFLAGS = -fPIC
  
  prefix = @prefix@
-@@ -33,6 +40,7 @@
+@@ -33,6 +36,7 @@
  libdir = @libdir@
  bindir = @bindir@
  datadir = @datadir@
@@ -38,7 +34,7 @@
  mandir = @mandir@
  man1dir = $(mandir)/man1
  pkgconfigdir = $(libdir)/pkgconfig
-@@ -53,33 +61,37 @@
+@@ -53,33 +57,37 @@
  all:	$(TARGET) _snackmodule.so
  
  test:	test.o $(LIBNEWT)
@@ -85,7 +81,7 @@
  
  $(LIBNEWT): $(LIBOBJS)
  	ar rv $@ $^
-@@ -102,7 +114,7 @@
+@@ -102,7 +110,7 @@
  sharedlib: $(LIBNEWTSH)
  
  $(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
@@ -94,7 +90,7 @@
  	ln -fs $(LIBNEWTSONAME) libnewt.so
  	ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
  
-@@ -119,7 +131,7 @@
+@@ -119,7 +127,7 @@
  	install -m 755 whiptail $(instroot)/$(bindir)
  	install -m 644 whiptail.1 $(instroot)/$(man1dir)
  	make -C po datadir=$(instroot)/$(datadir) install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110310/dd06ecaf/attachment-0001.html>


More information about the macports-changes mailing list