From 7d0ad7179992499b495275e373fe74a76631ae0c Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Mon, 6 Nov 2017 09:11:26 +0000 Subject: [PATCH 1/2] swig: ensure swig3.0 is available --- packages/devel/swig/package.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/devel/swig/package.mk b/packages/devel/swig/package.mk index 5a74f2bbf2..d47d5f95e3 100644 --- a/packages/devel/swig/package.mk +++ b/packages/devel/swig/package.mk @@ -29,7 +29,8 @@ PKG_SHORTDESC="SWIG: a software development tool that connects programs written PKG_LONGDESC="SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages." PKG_AUTORECONF="no" -PKG_CONFIGURE_OPTS_HOST="--with-pcre-prefix=$TOOLCHAIN \ +PKG_CONFIGURE_OPTS_HOST="--program-suffix=3.0 \ + --with-pcre-prefix=$TOOLCHAIN \ --with-boost=no \ --without-pcre \ --without-x \ @@ -55,3 +56,7 @@ PKG_CONFIGURE_OPTS_HOST="--with-pcre-prefix=$TOOLCHAIN \ --without-r \ --without-go \ --without-d" + +post_makeinstall_host() { + ln -sf swig3.0 $TOOLCHAIN/bin/swig +} From 2ae54c24a4178eea4fbf2babf02155c01692be79 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Mon, 6 Nov 2017 09:12:54 +0000 Subject: [PATCH 2/2] libcec: add swig:host dependency --- packages/devel/libcec/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/devel/libcec/package.mk b/packages/devel/libcec/package.mk index f2cdbac12e..86f58505c4 100644 --- a/packages/devel/libcec/package.mk +++ b/packages/devel/libcec/package.mk @@ -24,7 +24,7 @@ PKG_LICENSE="GPL" PKG_SITE="http://libcec.pulse-eight.com/" PKG_URL="https://github.com/Pulse-Eight/libcec/archive/$PKG_VERSION.tar.gz" [ "$PROJECT" = "imx6" ] && PKG_PATCH_DIRS="${LINUX#imx6-}" -PKG_DEPENDS_TARGET="toolchain systemd lockdev p8-platform" +PKG_DEPENDS_TARGET="toolchain systemd lockdev p8-platform swig:host" PKG_SECTION="system" PKG_SHORTDESC="libCEC is an open-source dual licensed library designed for communicating with the Pulse-Eight USB - CEC Adaptor" PKG_LONGDESC="libCEC is an open-source dual licensed library designed for communicating with the Pulse-Eight USB - CEC Adaptor."