Date: Sat, 24 May 2014 17:20:29 +0000 (UTC) From: Olli Hauer <ohauer@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355056 - in head/devel/mime: . files Message-ID: <201405241720.s4OHKTvE004444@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ohauer Date: Sat May 24 17:20:28 2014 New Revision: 355056 URL: http://svnweb.freebsd.org/changeset/ports/355056 QAT: https://qat.redports.org/buildarchive/r355056/ Log: - allow build / strip without root privilegs Modified: head/devel/mime/Makefile head/devel/mime/files/patch-Makefile.in Modified: head/devel/mime/Makefile ============================================================================== --- head/devel/mime/Makefile Sat May 24 17:14:56 2014 (r355055) +++ head/devel/mime/Makefile Sat May 24 17:20:28 2014 (r355056) @@ -15,7 +15,7 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes post-install: - @(cd ${STAGEDIR}${PREFIX}/lib ; ${STRIP_CMD} libmime.so.1; \ - ${LN} -sf libmime.so.1 libmime.so ) + ${LN} -sf libmime.so.1 ${STAGEDIR}${PREFIX}/lib/libmime.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmime.so .include <bsd.port.mk> Modified: head/devel/mime/files/patch-Makefile.in ============================================================================== --- head/devel/mime/files/patch-Makefile.in Sat May 24 17:14:56 2014 (r355055) +++ head/devel/mime/files/patch-Makefile.in Sat May 24 17:20:28 2014 (r355056) @@ -1,6 +1,15 @@ --- ./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 @@ ++++ ./Makefile.in 2014-05-24 18:52:04.000000000 +0200 +@@ -60,7 +60,7 @@ + LIBDIR = @libdir@ + LIBOWN = 0 + LIBGRP = 0 +-LIBMOD = 0444 ++LIBMOD = 0644 + INCDIR = @includedir@ + INCOWN = 0 + INCGRP = 0 +@@ -88,17 +88,15 @@ $(POBJS) $(TPROG) $(TOBJS) .depend install: $(ARNAME) $(SONAME) $(PANAME) @@ -11,7 +20,6 @@ - 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) @@ -21,12 +29,11 @@ - 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 @@ +@@ -116,7 +114,7 @@ .SUFFIXES: .SUFFIXES: .so .po .c .o .c.so:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405241720.s4OHKTvE004444>