mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix LIB_DEPENDS for wxgtk2-utils-devel port.
This commit is contained in:
parent
5e65df641d
commit
85637516c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113379
@ -17,7 +17,7 @@ DISTNAME= wxGTK-${PORTVERSION}
|
||||
MAINTAINER?= fjoe@FreeBSD.org
|
||||
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings (devel version)
|
||||
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
||||
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||
expat.5:${PORTSDIR}/textproc/expat2
|
||||
@ -60,14 +60,9 @@ INSTALL_TARGET= install-common
|
||||
INSTALLS_SHLIB= yes
|
||||
.endif # *-common
|
||||
|
||||
.if ${WXGTK_FLAVOR:M*-contrib*} != "" || ${WXGTK_FLAVOR:M*-utils*} != ""
|
||||
.if ${WXGTK_FLAVOR:M*-utils*} != ""
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib/utils
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
.else
|
||||
.if ${WXGTK_FLAVOR:M*-contrib*} != ""
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
.endif # *-utils*
|
||||
|
||||
.if ${WXGTK_FLAVOR} != "gtk2-contrib-common"
|
||||
RUN_DEPENDS= ${X11BASE}/include/wx/stc/stc.h:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-common-devel
|
||||
@ -78,13 +73,14 @@ LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
|
||||
LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
|
||||
.endif
|
||||
|
||||
.endif # !gtk2-contrib-common
|
||||
.endif # *-contrib*
|
||||
|
||||
pre-configure:
|
||||
@${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
|
||||
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
|
||||
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \
|
||||
-e "s,@CPPFLAGS@,,"
|
||||
.endif # !gtk2-contrib-common
|
||||
.endif # *-contrib* || *-utils*
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -10,10 +10,14 @@ COMMENT= The wxWidgets GUI toolkit utils (devel version)
|
||||
|
||||
.if defined(WITH_UNICODE)
|
||||
WXGTK_FLAVOR= gtk2-unicode-utils
|
||||
LIB_DEPENDS= wx_gtk2u_stc-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-contrib-devel
|
||||
.else
|
||||
WXGTK_FLAVOR= gtk2-utils
|
||||
LIB_DEPENDS= wx_gtk2_stc-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-devel
|
||||
.endif
|
||||
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib/utils
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
MASTERDIR= ${.CURDIR}/../wxgtk2-devel
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -10,10 +10,14 @@ COMMENT= The wxWidgets GUI toolkit utils (devel version)
|
||||
|
||||
.if defined(WITH_UNICODE)
|
||||
WXGTK_FLAVOR= gtk2-unicode-utils
|
||||
LIB_DEPENDS= wx_gtk2u_stc-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-contrib-devel
|
||||
.else
|
||||
WXGTK_FLAVOR= gtk2-utils
|
||||
LIB_DEPENDS= wx_gtk2_stc-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-devel
|
||||
.endif
|
||||
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib/utils
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
MASTERDIR= ${.CURDIR}/../wxgtk2-devel
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -17,7 +17,7 @@ DISTNAME= wxGTK-${PORTVERSION}
|
||||
MAINTAINER?= fjoe@FreeBSD.org
|
||||
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings (devel version)
|
||||
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
||||
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||
expat.5:${PORTSDIR}/textproc/expat2
|
||||
@ -60,14 +60,9 @@ INSTALL_TARGET= install-common
|
||||
INSTALLS_SHLIB= yes
|
||||
.endif # *-common
|
||||
|
||||
.if ${WXGTK_FLAVOR:M*-contrib*} != "" || ${WXGTK_FLAVOR:M*-utils*} != ""
|
||||
.if ${WXGTK_FLAVOR:M*-utils*} != ""
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib/utils
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
.else
|
||||
.if ${WXGTK_FLAVOR:M*-contrib*} != ""
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
.endif # *-utils*
|
||||
|
||||
.if ${WXGTK_FLAVOR} != "gtk2-contrib-common"
|
||||
RUN_DEPENDS= ${X11BASE}/include/wx/stc/stc.h:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-common-devel
|
||||
@ -78,13 +73,14 @@ LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
|
||||
LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
|
||||
.endif
|
||||
|
||||
.endif # !gtk2-contrib-common
|
||||
.endif # *-contrib*
|
||||
|
||||
pre-configure:
|
||||
@${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
|
||||
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
|
||||
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \
|
||||
-e "s,@CPPFLAGS@,,"
|
||||
.endif # !gtk2-contrib-common
|
||||
.endif # *-contrib* || *-utils*
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -17,7 +17,7 @@ DISTNAME= wxGTK-${PORTVERSION}
|
||||
MAINTAINER?= fjoe@FreeBSD.org
|
||||
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings (devel version)
|
||||
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
||||
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||
expat.5:${PORTSDIR}/textproc/expat2
|
||||
@ -60,14 +60,9 @@ INSTALL_TARGET= install-common
|
||||
INSTALLS_SHLIB= yes
|
||||
.endif # *-common
|
||||
|
||||
.if ${WXGTK_FLAVOR:M*-contrib*} != "" || ${WXGTK_FLAVOR:M*-utils*} != ""
|
||||
.if ${WXGTK_FLAVOR:M*-utils*} != ""
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib/utils
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
.else
|
||||
.if ${WXGTK_FLAVOR:M*-contrib*} != ""
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
.endif # *-utils*
|
||||
|
||||
.if ${WXGTK_FLAVOR} != "gtk2-contrib-common"
|
||||
RUN_DEPENDS= ${X11BASE}/include/wx/stc/stc.h:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-common-devel
|
||||
@ -78,13 +73,14 @@ LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
|
||||
LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
|
||||
.endif
|
||||
|
||||
.endif # !gtk2-contrib-common
|
||||
.endif # *-contrib*
|
||||
|
||||
pre-configure:
|
||||
@${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
|
||||
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
|
||||
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \
|
||||
-e "s,@CPPFLAGS@,,"
|
||||
.endif # !gtk2-contrib-common
|
||||
.endif # *-contrib* || *-utils*
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -17,7 +17,7 @@ DISTNAME= wxGTK-${PORTVERSION}
|
||||
MAINTAINER?= fjoe@FreeBSD.org
|
||||
COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings (devel version)
|
||||
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
||||
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||
expat.5:${PORTSDIR}/textproc/expat2
|
||||
@ -60,14 +60,9 @@ INSTALL_TARGET= install-common
|
||||
INSTALLS_SHLIB= yes
|
||||
.endif # *-common
|
||||
|
||||
.if ${WXGTK_FLAVOR:M*-contrib*} != "" || ${WXGTK_FLAVOR:M*-utils*} != ""
|
||||
.if ${WXGTK_FLAVOR:M*-utils*} != ""
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib/utils
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
.else
|
||||
.if ${WXGTK_FLAVOR:M*-contrib*} != ""
|
||||
BUILD_WRKSRC= ${WRKSRC}/contrib
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
.endif # *-utils*
|
||||
|
||||
.if ${WXGTK_FLAVOR} != "gtk2-contrib-common"
|
||||
RUN_DEPENDS= ${X11BASE}/include/wx/stc/stc.h:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-common-devel
|
||||
@ -78,13 +73,14 @@ LIB_DEPENDS+= wx_baseu-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-devel
|
||||
LIB_DEPENDS+= wx_base-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-devel
|
||||
.endif
|
||||
|
||||
.endif # !gtk2-contrib-common
|
||||
.endif # *-contrib*
|
||||
|
||||
pre-configure:
|
||||
@${FIND} ${WRKSRC}/contrib -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
|
||||
-e "s,@CXXFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cxxflags`," \
|
||||
-e "s,@CFLAGS@,${CFLAGS} `${WXGTK_CONFIG} --cflags`," \
|
||||
-e "s,@CPPFLAGS@,,"
|
||||
.endif # !gtk2-contrib-common
|
||||
.endif # *-contrib* || *-utils*
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user