[32105] trunk/base/src/cregistry/Makefile

jmpp at macports.org jmpp at macports.org
Sun Dec 16 17:17:01 PST 2007


Revision: 32105
          http://trac.macosforge.org/projects/macports/changeset/32105
Author:   jmpp at macports.org
Date:     2007-12-16 17:17:00 -0800 (Sun, 16 Dec 2007)

Log Message:
-----------

Pass the generated static cregistry.a archive through ranlib to fix it for universal building,
which is enforced by the MacPorts portfile on Tiger or newer.

This patch will be applied manaully while building the dmg's, since the alternative is mering it
now into the relase branch and hence invalidating all the work I've done so far in the release process
(release tag, tarballs, selfupdate, etc...)

Modified Paths:
--------------
    trunk/base/src/cregistry/Makefile

Modified: trunk/base/src/cregistry/Makefile
===================================================================
--- trunk/base/src/cregistry/Makefile	2007-12-17 00:30:21 UTC (rev 32104)
+++ trunk/base/src/cregistry/Makefile	2007-12-17 01:17:00 UTC (rev 32105)
@@ -1,9 +1,12 @@
 # $Id$
-OBJS=       registry.o entry.o sql.o
-STLIB_NAME=	cregistry.a
+OBJS = registry.o entry.o sql.o
+STLIB_NAME = cregistry.a
+RANLIB = ranlib
 
+
 include ../../Mk/macports.autoconf.mk
 
+
 all:: ${STLIB_NAME}
 
 .c.o:
@@ -11,6 +14,7 @@
 
 ${STLIB_NAME}:: ${OBJS}
 	${STLIB_LD} ${STLIB_NAME} ${OBJS}
+	${RANLIB} ${STLIB_NAME}
 
 clean::
 	rm -f ${STLIB_NAME} ${OBJS}

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


More information about the macports-changes mailing list