mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add SWIG option
PR: ports/172660 Submitted by: Rainer Hurling <rhurlin@gwdg.de>
This commit is contained in:
parent
896ccebde2
commit
ae43a789b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355264
@ -15,13 +15,18 @@ LICENSE= BSD3CLAUSE
|
|||||||
BUILD_DEPENDS= ${LOCALBASE}/bin/curl-config:${PORTSDIR}/ftp/curl \
|
BUILD_DEPENDS= ${LOCALBASE}/bin/curl-config:${PORTSDIR}/ftp/curl \
|
||||||
${LOCALBASE}/include/expat.h:${PORTSDIR}/textproc/expat2
|
${LOCALBASE}/include/expat.h:${PORTSDIR}/textproc/expat2
|
||||||
|
|
||||||
CONFIGURE_ARGS= --disable-java --disable-python --disable-swig \
|
OPTIONS_DEFINE= SWIG
|
||||||
|
|
||||||
|
CONFIGURE_ARGS= --disable-java --disable-python \
|
||||||
--with-expat-include-dir=${LOCALBASE}/include \
|
--with-expat-include-dir=${LOCALBASE}/include \
|
||||||
--with-expat-lib-dir=${LOCALBASE}/lib
|
--with-expat-lib-dir=${LOCALBASE}/lib
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USES= gmake libtool
|
USES= gmake libtool
|
||||||
|
|
||||||
|
SWIG_BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
|
||||||
|
SWIG_CONFIGURE_OFF= --disable-swig
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/SWIG_VERSION:4/ s|:4|#*.*.|' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e '/SWIG_VERSION:4/ s|:4|#*.*.|' ${WRKSRC}/configure
|
||||||
@${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} 's|-Werror||; s| -ansi -pedantic||' '{}' \;
|
@${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} 's|-Werror||; s| -ansi -pedantic||' '{}' \;
|
||||||
|
Loading…
Reference in New Issue
Block a user