From f87cae45a1a32854649dcdd67ecce47c446c7527 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 10 Apr 2015 13:30:26 +0000 Subject: Update mk-defs patch, bump to EAPI=5. Bug #543808, patch by nigoro. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) --- sys-freebsd/freebsd-mk-defs/ChangeLog | 7 +- .../files/freebsd-mk-defs-10.0-gnu.patch | 79 ---------------------- .../files/freebsd-mk-defs-10.1-gnu.patch | 79 ++++++++++++++++++++++ .../freebsd-mk-defs/freebsd-mk-defs-10.1.ebuild | 6 +- 4 files changed, 88 insertions(+), 83 deletions(-) delete mode 100644 sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gnu.patch create mode 100644 sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.1-gnu.patch (limited to 'sys-freebsd') diff --git a/sys-freebsd/freebsd-mk-defs/ChangeLog b/sys-freebsd/freebsd-mk-defs/ChangeLog index 43cd453c5a9d..b38866ee20d6 100644 --- a/sys-freebsd/freebsd-mk-defs/ChangeLog +++ b/sys-freebsd/freebsd-mk-defs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-mk-defs # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.60 2015/03/08 14:01:57 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.61 2015/04/10 13:30:26 mgorny Exp $ + + 10 Apr 2015; Michał Górny + +files/freebsd-mk-defs-10.1-gnu.patch, -files/freebsd-mk-defs-10.0-gnu.patch, + freebsd-mk-defs-10.1.ebuild: + Update mk-defs patch, bump to EAPI=5. Bug #543808, patch by nigoro. *freebsd-mk-defs-10.1 (08 Mar 2015) diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gnu.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gnu.patch deleted file mode 100644 index acce807fe618..000000000000 --- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gnu.patch +++ /dev/null @@ -1,79 +0,0 @@ -diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk -index 0a33fdb..cd7ca2f 100644 ---- a/share/mk/bsd.lib.mk -+++ b/share/mk/bsd.lib.mk -@@ -165,11 +165,7 @@ _LIBS= lib${LIB}.a - lib${LIB}.a: ${OBJS} ${STATICOBJS} - @${ECHO} building static ${LIB} library - @rm -f ${.TARGET} --.if !defined(NM) -- @${AR} ${ARFLAGS} ${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} --.else -- @${AR} ${ARFLAGS} ${.TARGET} `NM='${NM}' lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} --.endif -+ @${AR} ${ARFLAGS} ${.TARGET} ${OBJS} ${STATICOBJS} ${ARADD} - ${RANLIB} ${.TARGET} - .endif - -@@ -182,11 +178,7 @@ POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=.po} - lib${LIB}_p.a: ${POBJS} - @${ECHO} building profiled ${LIB} library - @rm -f ${.TARGET} --.if !defined(NM) -- @${AR} ${ARFLAGS} ${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD} --.else -- @${AR} ${ARFLAGS} ${.TARGET} `NM='${NM}' lorder ${POBJS} | tsort -q` ${ARADD} --.endif -+ @${AR} ${ARFLAGS} ${.TARGET} ${POBJS} ${ARADD} - ${RANLIB} ${.TARGET} - .endif - -@@ -213,15 +205,9 @@ ${SHLIB_NAME_FULL}: ${SOBJS} - .if defined(SHLIB_LINK) - @${INSTALL_SYMLINK} ${SHLIB_NAME} ${SHLIB_LINK} - .endif --.if !defined(NM) - @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ - -o ${.TARGET} -Wl,-soname,${SONAME} \ -- `lorder ${SOBJS} | tsort -q` ${LDADD} --.else -- @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ -- -o ${.TARGET} -Wl,-soname,${SONAME} \ -- `NM='${NM}' lorder ${SOBJS} | tsort -q` ${LDADD} --.endif -+ `echo ${SOBJS} | xargs -n 1 echo | sort -u` ${LDADD} - .if ${MK_CTF} != "no" - ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS} - .endif -@@ -279,13 +265,6 @@ _EXTRADEPEND: - - .if !target(install) - --.if defined(PRECIOUSLIB) --.if !defined(NO_FSCHG) --SHLINSTALLFLAGS+= -fschg --.endif --SHLINSTALLFLAGS+= -S --.endif -- - _INSTALLFLAGS:= ${INSTALLFLAGS} - .for ie in ${INSTALLFLAGS_EDIT} - _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} -diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk -index 02024e0..0f9010d 100644 ---- a/share/mk/bsd.prog.mk -+++ b/share/mk/bsd.prog.mk -@@ -180,13 +180,6 @@ _EXTRADEPEND: - - .if !target(install) - --.if defined(PRECIOUSPROG) --.if !defined(NO_FSCHG) --INSTALLFLAGS+= -fschg --.endif --INSTALLFLAGS+= -S --.endif -- - _INSTALLFLAGS:= ${INSTALLFLAGS} - .for ie in ${INSTALLFLAGS_EDIT} - _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.1-gnu.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.1-gnu.patch new file mode 100644 index 000000000000..e566e6235a3a --- /dev/null +++ b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.1-gnu.patch @@ -0,0 +1,79 @@ +diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk +index a5eacf9..01d1045 100644 +--- a/share/mk/bsd.lib.mk ++++ b/share/mk/bsd.lib.mk +@@ -166,11 +166,7 @@ _LIBS= lib${LIB}.a + lib${LIB}.a: ${OBJS} ${STATICOBJS} + @${ECHO} building static ${LIB} library + @rm -f ${.TARGET} +-.if !defined(NM) +- @${AR} ${ARFLAGS} ${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} +-.else +- @${AR} ${ARFLAGS} ${.TARGET} `NM='${NM}' lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} +-.endif ++ @${AR} ${ARFLAGS} ${.TARGET} ${OBJS} ${STATICOBJS} ${ARADD} + ${RANLIB} ${RANLIBFLAGS} ${.TARGET} + .endif + +@@ -183,11 +179,7 @@ POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=.po} + lib${LIB}_p.a: ${POBJS} + @${ECHO} building profiled ${LIB} library + @rm -f ${.TARGET} +-.if !defined(NM) +- @${AR} ${ARFLAGS} ${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD} +-.else +- @${AR} ${ARFLAGS} ${.TARGET} `NM='${NM}' lorder ${POBJS} | tsort -q` ${ARADD} +-.endif ++ @${AR} ${ARFLAGS} ${.TARGET} ${POBJS} ${ARADD} + ${RANLIB} ${RANLIBFLAGS} ${.TARGET} + .endif + +@@ -214,15 +206,9 @@ ${SHLIB_NAME_FULL}: ${SOBJS} + .if defined(SHLIB_LINK) + @${INSTALL_SYMLINK} ${SHLIB_NAME} ${SHLIB_LINK} + .endif +-.if !defined(NM) + @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ + -o ${.TARGET} -Wl,-soname,${SONAME} \ +- `lorder ${SOBJS} | tsort -q` ${LDADD} +-.else +- @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ +- -o ${.TARGET} -Wl,-soname,${SONAME} \ +- `NM='${NM}' lorder ${SOBJS} | tsort -q` ${LDADD} +-.endif ++ `echo ${SOBJS} | xargs -n 1 echo | sort -u` ${LDADD} + .if ${MK_CTF} != "no" + ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS} + .endif +@@ -280,13 +266,6 @@ _EXTRADEPEND: + + .if !target(install) + +-.if defined(PRECIOUSLIB) +-.if !defined(NO_FSCHG) +-SHLINSTALLFLAGS+= -fschg +-.endif +-SHLINSTALLFLAGS+= -S +-.endif +- + _INSTALLFLAGS:= ${INSTALLFLAGS} + .for ie in ${INSTALLFLAGS_EDIT} + _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} +diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk +index a53ea14..af3f37c 100644 +--- a/share/mk/bsd.prog.mk ++++ b/share/mk/bsd.prog.mk +@@ -179,13 +179,6 @@ _EXTRADEPEND: + + .if !target(install) + +-.if defined(PRECIOUSPROG) +-.if !defined(NO_FSCHG) +-INSTALLFLAGS+= -fschg +-.endif +-INSTALLFLAGS+= -S +-.endif +- + _INSTALLFLAGS:= ${INSTALLFLAGS} + .for ie in ${INSTALLFLAGS_EDIT} + _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.ebuild index d146b69bb9bb..dc7c9a6f5e24 100644 --- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.ebuild +++ b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.ebuild,v 1.1 2015/03/08 14:01:57 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.ebuild,v 1.2 2015/04/10 13:30:26 mgorny Exp $ -EAPI=3 +EAPI=5 inherit bsdmk freebsd @@ -26,7 +26,7 @@ S="${WORKDIR}/share/mk" src_prepare() { epatch "${FILESDIR}/${PN}-10.0-gentoo.patch" epatch "${FILESDIR}/${PN}-add-nossp-cflags.patch" - use userland_GNU && epatch "${FILESDIR}/${PN}-10.0-gnu.patch" + use userland_GNU && epatch "${FILESDIR}/${PN}-10.1-gnu.patch" } src_compile() { :; } -- cgit v1.2.3-65-gdbad