From 7d0ad7179992499b495275e373fe74a76631ae0c Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Mon, 6 Nov 2017 09:11:26 +0000 Subject: [PATCH] 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 +}