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." 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 +}