diff options
author | fjoe <fjoe@FreeBSD.org> | 2004-02-04 20:46:04 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2004-02-04 20:46:04 +0800 |
commit | 9b8de09969d3ede346d731b89c9f44f144b0b2e0 (patch) | |
tree | 19425d401a5602b7e8adf9c193950f693738b9fa /x11-toolkits | |
parent | 898ad9e8296d8a1ad2dc92d4ca5d62f6b427b217 (diff) | |
download | freebsd-ports-gnome-9b8de09969d3ede346d731b89c9f44f144b0b2e0.tar.gz freebsd-ports-gnome-9b8de09969d3ede346d731b89c9f44f144b0b2e0.tar.zst freebsd-ports-gnome-9b8de09969d3ede346d731b89c9f44f144b0b2e0.zip |
- Provide a different fix for gnome.
- SIZE'ify.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/wxgtk/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/wxgtk/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/wxgtk24/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/wxgtk24/distinfo | 1 |
4 files changed, 18 insertions, 20 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 diff --git a/x11-toolkits/wxgtk/distinfo b/x11-toolkits/wxgtk/distinfo index d33ca383e712..ef14fe7e73b5 100644 --- a/x11-toolkits/wxgtk/distinfo +++ b/x11-toolkits/wxgtk/distinfo @@ -1 +1,2 @@ MD5 (wxGTK-2.4.2.tar.bz2) = cdadfe82fc93f8a65a2ae18a95b0b0e3 +SIZE (wxGTK-2.4.2.tar.bz2) = 5381935 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 |