diff options
author | Max Khon <fjoe@FreeBSD.org> | 2004-02-04 12:46:04 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2004-02-04 12:46:04 +0000 |
commit | 8ae3e1015c1dd7feb4dfcaf2d76e9243907c9e6e (patch) | |
tree | 7a3a12971b9865b5c63473b9efede74f769ae0db /x11-toolkits/wxgtk/Makefile | |
parent | 209cab5bdd1c554e1294ec85a3d0fb359b5fb7eb (diff) |
Notes
Diffstat (limited to 'x11-toolkits/wxgtk/Makefile')
-rw-r--r-- | x11-toolkits/wxgtk/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/x11-toolkits/wxgtk/Makefile b/x11-toolkits/wxgtk/Makefile index c062f34c572a..d03dd08a2d5d 100644 --- a/x11-toolkits/wxgtk/Makefile +++ b/x11-toolkits/wxgtk/Makefile @@ -46,8 +46,6 @@ PLIST= ${.CURDIR}/pkg-plist WXGTK_FLAVOR?= gtk -WANT_GNOME= yes - .if ${WXGTK_FLAVOR} != "gtk-common" RUN_DEPENDS= ${X11BASE}/include/wx/wx.h:${PORTSDIR}/x11-toolkits/wxgtk-common .endif @@ -73,6 +71,14 @@ LIB_DEPENDS+= wx_gtk2u-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2-unicode .endif # !gtk-contrib-common .endif # *-contrib* +.if ${WXGTK_FLAVOR:Mgtk2*} != "" +USE_GNOME= gtk20 +CONFIGURE_ARGS+=--enable-gtk2 ${MACHINE_ARCH}-portbld-freebsd${OSREL} +.else +USE_GNOME= gtk12 +CONFIGURE_ARGS+=--host=${CONFIGURE_TARGET} --build=${CONFIGURE_TARGET} +.endif + .include <bsd.port.pre.mk> .if ${WXGTK_FLAVOR:M*-unicode*} != "" @@ -82,14 +88,6 @@ IGNORE= Systems prior to FreeBSD 5.0 currently out of support CONFIGURE_ARGS+=--enable-unicode .endif # *-unicode* -.if ${WXGTK_FLAVOR:Mgtk2*} != "" -USE_GNOME= gtk20 -CONFIGURE_ARGS+=--enable-gtk2 ${MACHINE_ARCH}-portbld-freebsd${OSREL} -.else -USE_GNOME= gtk12 -CONFIGURE_ARGS+=--host=${CONFIGURE_TARGET} --build=${CONFIGURE_TARGET} -.endif - pre-patch: .if ${WXGTK_FLAVOR:Mgtk2*} != "" @${REINPLACE_CMD} -e 's|lgdk|lgdk-x11-2.0|g' ${WRKSRC}/configure |