diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-08-01 16:09:10 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-08-01 16:09:10 +0000 |
commit | 93786fa4f80c0eef166d8f49c03055344510398c (patch) | |
tree | 903e9458efdf8e2f3119a30efbeeeec225cb820a /x11-toolkits/fxscintilla | |
parent | e56d46b43e5b07185abd8c27cf7b49dde6823900 (diff) | |
download | ports-93786fa4f80c0eef166d8f49c03055344510398c.tar.gz ports-93786fa4f80c0eef166d8f49c03055344510398c.zip |
Add support for fox1.2
PR: ports/84232
Submitted by: Alexander Novitsky <alecn2002@yandex.ru> (maintainer)
Notes
Notes:
svn path=/head/; revision=140683
Diffstat (limited to 'x11-toolkits/fxscintilla')
-rw-r--r-- | x11-toolkits/fxscintilla/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/x11-toolkits/fxscintilla/Makefile b/x11-toolkits/fxscintilla/Makefile index d36a698afd08..5aeb02d78b4d 100644 --- a/x11-toolkits/fxscintilla/Makefile +++ b/x11-toolkits/fxscintilla/Makefile @@ -22,19 +22,26 @@ CONFIGURE_ARGS+= --enable-shared --disable-static INSTALLS_SHLIB= yes OPTIONS= FOX10 "FOX1.0 support (FOX1.4 by default)" off +OPTIONS= FOX12 "FOX1.2 support (FOX1.4 by default)" off .include <bsd.port.pre.mk> .if defined(WITH_FOX10) -LIB_DEPENDS+= FOX-1.0.0:${PORTSDIR}/x11-toolkits/fox +FOX_LIB_VER= 1.0.0 +LIB_DEPENDS+= FOX-${FOX_LIB_VER}:${PORTSDIR}/x11-toolkits/fox CONFIGURE_ARGS+= --with-fox-1-0 +.elif defined(WITH_FOX12) +FOX_LIB_VER= 1.2 +LIB_DEPENDS+= FOX-${FOX_LIB_VER}:${PORTSDIR}/x11-toolkits/fox12 +CONFIGURE_ARGS+= --with-fox-1-2 .else -LIB_DEPENDS+= FOX-1.4:${PORTSDIR}/x11-toolkits/fox-devel +FOX_LIB_VER= 1.4 +LIB_DEPENDS+= FOX-${FOX_LIB_VER}:${PORTSDIR}/x11-toolkits/fox-devel CONFIGURE_ARGS+= --with-fox-1-4 .endif post-patch: - @${REINPLACE_CMD} -e 's|-lFOX-1.4|"-lFOX-1.4 ${PTHREAD_LIBS}"|' \ + @${REINPLACE_CMD} -e 's|-lFOX-${FOX_LIB_VER}|"-lFOX-${FOX_LIB_VER} ${PTHREAD_LIBS}"|' \ ${WRKSRC}/configure ${WRKSRC}/tests/Makefile.in .include <bsd.port.post.mk> |