diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-08-02 00:09:10 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-08-02 00:09:10 +0800 |
commit | 71d92c54a23c4b9e4f2bbc6f9bb6f124efe10e38 (patch) | |
tree | e87b139724d011ce3ccde31870c93577963aada3 /x11-toolkits | |
parent | f888d329c0055d8ce6a50fcfcc2ece3b56352dc2 (diff) | |
download | freebsd-ports-gnome-71d92c54a23c4b9e4f2bbc6f9bb6f124efe10e38.tar.gz freebsd-ports-gnome-71d92c54a23c4b9e4f2bbc6f9bb6f124efe10e38.tar.zst freebsd-ports-gnome-71d92c54a23c4b9e4f2bbc6f9bb6f124efe10e38.zip |
Add support for fox1.2
PR: ports/84232
Submitted by: Alexander Novitsky <alecn2002@yandex.ru> (maintainer)
Diffstat (limited to 'x11-toolkits')
-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> |