[133453] trunk/dports/devel/ossp-mm

jmr at macports.org jmr at macports.org
Sun Mar 1 19:57:03 PST 2015


Revision: 133453
          https://trac.macports.org/changeset/133453
Author:   jmr at macports.org
Date:     2015-03-01 19:57:03 -0800 (Sun, 01 Mar 2015)
Log Message:
-----------
ossp-mm: fix makefile ignoring ldflags (#24108)

Modified Paths:
--------------
    trunk/dports/devel/ossp-mm/Portfile

Added Paths:
-----------
    trunk/dports/devel/ossp-mm/files/
    trunk/dports/devel/ossp-mm/files/Makefile.in.patch

Modified: trunk/dports/devel/ossp-mm/Portfile
===================================================================
--- trunk/dports/devel/ossp-mm/Portfile	2015-03-02 03:45:01 UTC (rev 133452)
+++ trunk/dports/devel/ossp-mm/Portfile	2015-03-02 03:57:03 UTC (rev 133453)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem			1.0
+
 name				ossp-mm
 version				1.4.2
 categories			devel
@@ -26,6 +27,8 @@
 					sha1 b7327c5b4ec5913ff619ccac8a19d7ec9b0166df
 distname			mm-${version}
 
+patchfiles			Makefile.in.patch
+
 configure.args		--mandir=${prefix}/share/man
 
 post-destroot {
@@ -33,4 +36,3 @@
 	xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE PORTING README \
 		THANKS ${destroot}${prefix}/share/doc/${name}
 }
-

Added: trunk/dports/devel/ossp-mm/files/Makefile.in.patch
===================================================================
--- trunk/dports/devel/ossp-mm/files/Makefile.in.patch	                        (rev 0)
+++ trunk/dports/devel/ossp-mm/files/Makefile.in.patch	2015-03-02 03:57:03 UTC (rev 133453)
@@ -0,0 +1,19 @@
+--- Makefile.in.orig	2006-08-11 05:05:55.000000000 +1000
++++ Makefile.in	2015-03-02 14:53:29.000000000 +1100
+@@ -75,14 +75,14 @@
+ all: $(LIBS) $(MANS) $(TSTS)
+ 
+ libmm.la: $(OBJS)
+-	$(LIBTOOL) --quiet --mode=link $(CC) -o $@ $(OBJS) \
++	$(LIBTOOL) --quiet --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJS) \
+ 	    -rpath $(libdir) -version-info `$(SHTOOL) version -l c -d libtool mm_vers.c`
+ 
+ mm_alloc.c mm_core.c mm_global.c: mm.h mm_vers.c
+ mm.h: config.h
+ 
+ mm_test: mm_test.lo libmm.la
+-	$(LIBTOOL) --quiet --mode=link $(CC) -o $@ mm_test.lo libmm.la
++	$(LIBTOOL) --quiet --mode=link $(CC) $(LDFLAGS) -o $@ mm_test.lo libmm.la
+ 
+ mm.3: mm.pod
+ 	V1=`$(SHTOOL) version -l c -d short mm_vers.c`; \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150301/cf79e9b6/attachment-0001.html>


More information about the macports-changes mailing list