From owner-svn-ports-all@FreeBSD.ORG Tue Feb 18 10:15:46 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD94B280; Tue, 18 Feb 2014 10:15:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 972821350; Tue, 18 Feb 2014 10:15:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1IAFkV3063014; Tue, 18 Feb 2014 10:15:46 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1IAFjFs063005; Tue, 18 Feb 2014 10:15:45 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402181015.s1IAFjFs063005@svn.freebsd.org> From: Emanuel Haupt Date: Tue, 18 Feb 2014 10:15:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344855 - in head/devel/mime: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 10:15:46 -0000 Author: ehaupt Date: Tue Feb 18 10:15:44 2014 New Revision: 344855 URL: http://svnweb.freebsd.org/changeset/ports/344855 QAT: https://qat.redports.org/buildarchive/r344855/ Log: Support staging Added: head/devel/mime/files/patch-Makefile.in (contents, props changed) Modified: head/devel/mime/Makefile head/devel/mime/files/patch-header.c head/devel/mime/files/patch-message.c head/devel/mime/files/patch-util.c head/devel/mime/files/patch-util.h Modified: head/devel/mime/Makefile ============================================================================== --- head/devel/mime/Makefile Tue Feb 18 10:10:07 2014 (r344854) +++ head/devel/mime/Makefile Tue Feb 18 10:15:44 2014 (r344855) @@ -14,11 +14,8 @@ COMMENT= C library to parse mime data GNU_CONFIGURE= yes USE_LDCONFIG= yes -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e "s,-fpic,-fpic -fPIC,g" ${WRKSRC}/Makefile.in - post-install: - @(cd ${PREFIX}/lib ; ${LN} -sf libmime.so.1 libmime.so ) + @(cd ${STAGEDIR}${PREFIX}/lib ; ${STRIP_CMD} libmime.so.1; \ + ${LN} -sf libmime.so.1 libmime.so ) .include Added: head/devel/mime/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mime/files/patch-Makefile.in Tue Feb 18 10:15:44 2014 (r344855) @@ -0,0 +1,37 @@ +--- ./Makefile.in.orig 2003-09-16 01:37:19.000000000 +0200 ++++ ./Makefile.in 2014-02-18 11:12:31.484358106 +0100 +@@ -88,17 +88,17 @@ + $(POBJS) $(TPROG) $(TOBJS) .depend + + install: $(ARNAME) $(SONAME) $(PANAME) +- mkdir -p -m 755 $(LIBDIR) ++ mkdir -p -m 755 $(DESTDIR)$(LIBDIR) + for i in $(ARNAME) $(SONAME) $(PANAME); do \ +- cp $$i $(LIBDIR); \ +- chown $(LIBOWN):$(LIBGRP) $(LIBDIR)/$$i; \ +- chmod $(LIBMOD) $(LIBDIR)/$$i; \ ++ cp $$i $(DESTDIR)$(LIBDIR); \ ++ chown $(LIBOWN):$(LIBGRP) $(DESTDIR)$(LIBDIR)/$$i; \ ++ chmod $(LIBMOD) $(DESTDIR)$(LIBDIR)/$$i; \ + done +- mkdir -p -m 755 $(INCDIR) ++ mkdir -p -m 755 $(DESTDIR)$(INCDIR) + for i in $(INCS); do \ +- cp $$i $(INCDIR); \ +- chown $(INCOWN):$(INCGRP) $(INCDIR)/$$i; \ +- chmod $(INCMOD) $(INCDIR)/$$i; \ ++ cp $$i $(DESTDIR)$(INCDIR); \ ++ chown $(INCOWN):$(INCGRP) $(DESTDIR)$(INCDIR)/$$i; \ ++ chmod $(INCMOD) $(DESTDIR)$(INCDIR)/$$i; \ + done + + depend: +@@ -116,7 +116,7 @@ + .SUFFIXES: + .SUFFIXES: .so .po .c .o + .c.so: +- $(CC) -fpic $(AFLAGS) -c $< -o $@ ++ $(CC) -fpic -fPIC $(AFLAGS) -c $< -o $@ + + .c.po: + $(CC) $(PROFILE) $(AFLAGS) -c $< -o $@ Modified: head/devel/mime/files/patch-header.c ============================================================================== --- head/devel/mime/files/patch-header.c Tue Feb 18 10:10:07 2014 (r344854) +++ head/devel/mime/files/patch-header.c Tue Feb 18 10:15:44 2014 (r344855) @@ -1,5 +1,5 @@ ---- header.c.orig Sun Oct 30 23:37:49 2005 -+++ header.c Sun Oct 30 23:38:13 2005 +--- ./header.c.orig 2003-09-16 01:37:19.000000000 +0200 ++++ ./header.c 2014-02-18 11:11:32.980337829 +0100 @@ -67,7 +67,7 @@ alc = 0; Modified: head/devel/mime/files/patch-message.c ============================================================================== --- head/devel/mime/files/patch-message.c Tue Feb 18 10:10:07 2014 (r344854) +++ head/devel/mime/files/patch-message.c Tue Feb 18 10:15:44 2014 (r344855) @@ -1,5 +1,5 @@ ---- message.c.orig Tue Aug 31 10:14:24 2010 -+++ message.c Tue Aug 31 10:14:10 2010 +--- ./message.c.orig 2003-09-16 01:37:19.000000000 +0200 ++++ ./message.c 2014-02-18 11:11:32.983337749 +0100 @@ -89,7 +89,7 @@ * XXX - need to be fixed to support "\r\n" */ Modified: head/devel/mime/files/patch-util.c ============================================================================== --- head/devel/mime/files/patch-util.c Tue Feb 18 10:10:07 2014 (r344854) +++ head/devel/mime/files/patch-util.c Tue Feb 18 10:15:44 2014 (r344855) @@ -1,5 +1,5 @@ ---- util.c.orig Sun Oct 30 23:38:55 2005 -+++ util.c Sun Oct 30 23:39:26 2005 +--- ./util.c.orig 2003-09-16 01:37:19.000000000 +0200 ++++ ./util.c 2014-02-18 11:11:32.986338150 +0100 @@ -31,7 +31,7 @@ #if 0 Modified: head/devel/mime/files/patch-util.h ============================================================================== --- head/devel/mime/files/patch-util.h Tue Feb 18 10:10:07 2014 (r344854) +++ head/devel/mime/files/patch-util.h Tue Feb 18 10:15:44 2014 (r344855) @@ -1,5 +1,5 @@ ---- util.h.orig Sun Oct 30 23:39:40 2005 -+++ util.h Sun Oct 30 23:39:56 2005 +--- ./util.h.orig 2003-09-16 01:37:19.000000000 +0200 ++++ ./util.h 2014-02-18 11:11:32.989336888 +0100 @@ -30,6 +30,6 @@ #ifndef _UTIL_H_ #define _UTIL_H_