1
0
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:
Max Khon 2004-07-11 08:14:35 +00:00
parent 5e65df641d
commit 85637516c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113379
6 changed files with 28 additions and 36 deletions

View File

@ -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>

View File

@ -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"

View File

@ -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"

View File

@ -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>

View File

@ -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>

View File

@ -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>