From 6a00941e3b1854b18edef88647e4ece82bc7fa73 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 Aug 2010 09:11:32 +0200 Subject: add autoconf to freebsd_full --- scripts/adkprepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/adkprepare.sh b/scripts/adkprepare.sh index 168938952..08503bafd 100755 --- a/scripts/adkprepare.sh +++ b/scripts/adkprepare.sh @@ -87,7 +87,7 @@ freebsd() { freebsd_full() { echo "Preparing FreeBSD for full OpenADK package builds" - pkg_add -r intltool lynx bison zip xkbcomp glib20 libIDL + pkg_add -r intltool lynx bison zip xkbcomp glib20 libIDL autoconf262 } case $os in -- cgit v1.2.3 From 8ea87cbaf6a1873b77c5ce4e4104e8dd7c7a0211 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 Aug 2010 12:17:34 +0200 Subject: always make binary or library writable by the user, before trying to strip --- package/lvm/Makefile | 1 - package/readline/Makefile | 1 - package/tcl/Makefile | 1 - scripts/rstrip.sh | 1 + 4 files changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts') diff --git a/package/lvm/Makefile b/package/lvm/Makefile index c7d2a4ee6..5120212a0 100644 --- a/package/lvm/Makefile +++ b/package/lvm/Makefile @@ -37,7 +37,6 @@ post-install: ${INSTALL_DIR} ${IDIR_LIBDEVMAPPER}/usr/lib ${CP} ${WRKINST}/usr/lib/libdevmapper.so* \ ${IDIR_LIBDEVMAPPER}/usr/lib - chmod u+w ${IDIR_LIBDEVMAPPER}/usr/lib/*.so* # device-mapper ${INSTALL_DIR} ${IDIR_DEVICE_MAPPER}/usr/sbin ${INSTALL_BIN} ${WRKINST}/usr/sbin/dmsetup \ diff --git a/package/readline/Makefile b/package/readline/Makefile index 542f72d9a..7895198a5 100644 --- a/package/readline/Makefile +++ b/package/readline/Makefile @@ -23,6 +23,5 @@ post-install: ${INSTALL_DIR} ${IDIR_LIBREADLINE}/usr/lib ${CP} ${WRKINST}/usr/lib/libhistory.so* ${IDIR_LIBREADLINE}/usr/lib/ ${CP} ${WRKINST}/usr/lib/libreadline.so* ${IDIR_LIBREADLINE}/usr/lib/ - chmod u+w ${IDIR_LIBREADLINE}/usr/lib/* include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/tcl/Makefile b/package/tcl/Makefile index 3eb849626..8f605261a 100644 --- a/package/tcl/Makefile +++ b/package/tcl/Makefile @@ -31,6 +31,5 @@ post-install: ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib - chmod u+w ${IDIR_TCL}/usr/lib/libtcl8.5.so # for strip include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 0c7550d8e..951362d35 100644 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -54,6 +54,7 @@ find $TARGETS -type f -a -exec file {} \; | \ esac echo "$SELF: $V:$S" echo "-> $T $F" + eval "chmod u+w $F" eval "$T $F" done exit 0 -- cgit v1.2.3 From 32c0cdc3aab19b90cab5660ed883190a70f86ce6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 Aug 2010 15:19:23 +0200 Subject: add install wrapper to avoid -o/-g usage --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/install (limited to 'scripts') diff --git a/scripts/install b/scripts/install new file mode 100755 index 000000000..546fc583b --- /dev/null +++ b/scripts/install @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. +set -x + +cmd=$(echo "$@"|sed -e "s#\(-o\|-g\) [0-9]*##g") +/usr/bin/install $cmd -- cgit v1.2.3 From 40b1e9a831fbb9df222f798df9be73fbaf0c74d7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 Aug 2010 16:44:31 +0200 Subject: remove debug --- scripts/install | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts') diff --git a/scripts/install b/scripts/install index 546fc583b..da14ec8ca 100755 --- a/scripts/install +++ b/scripts/install @@ -1,7 +1,6 @@ #!/usr/bin/env bash # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -set -x cmd=$(echo "$@"|sed -e "s#\(-o\|-g\) [0-9]*##g") /usr/bin/install $cmd -- cgit v1.2.3