summaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk24
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2004-02-04 12:46:04 +0000
committerMax Khon <fjoe@FreeBSD.org>2004-02-04 12:46:04 +0000
commit8ae3e1015c1dd7feb4dfcaf2d76e9243907c9e6e (patch)
tree7a3a12971b9865b5c63473b9efede74f769ae0db /x11-toolkits/wxgtk24
parent- Unbreak ru-xmms [1]. (diff)
- Provide a different fix for gnome.
- SIZE'ify.
Notes
Notes: svn path=/head/; revision=99945
Diffstat (limited to 'x11-toolkits/wxgtk24')
-rw-r--r--x11-toolkits/wxgtk24/Makefile18
-rw-r--r--x11-toolkits/wxgtk24/distinfo1
2 files changed, 9 insertions, 10 deletions
diff --git a/x11-toolkits/wxgtk24/Makefile b/x11-toolkits/wxgtk24/Makefile
index c062f34c572a..d03dd08a2d5d 100644
--- a/x11-toolkits/wxgtk24/Makefile
+++ b/x11-toolkits/wxgtk24/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
diff --git a/x11-toolkits/wxgtk24/distinfo b/x11-toolkits/wxgtk24/distinfo
index d33ca383e712..ef14fe7e73b5 100644
--- a/x11-toolkits/wxgtk24/distinfo
+++ b/x11-toolkits/wxgtk24/distinfo
@@ -1 +1,2 @@
MD5 (wxGTK-2.4.2.tar.bz2) = cdadfe82fc93f8a65a2ae18a95b0b0e3
+SIZE (wxGTK-2.4.2.tar.bz2) = 5381935