diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-11-15 02:03:41 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-11-15 02:03:41 +0800 |
commit | fe0181e92897d3d3f21c8f1bae1b04c11279f6d5 (patch) | |
tree | db975c5be76c4b08deecea1b3883cc9b7c224d58 | |
parent | 66717133c1154dfcf71b8fa4281e3c5336a29221 (diff) | |
download | freebsd-ports-gnome-fe0181e92897d3d3f21c8f1bae1b04c11279f6d5.tar.gz freebsd-ports-gnome-fe0181e92897d3d3f21c8f1bae1b04c11279f6d5.tar.zst freebsd-ports-gnome-fe0181e92897d3d3f21c8f1bae1b04c11279f6d5.zip |
- Integrate completely with bsd.wx.mk.
- Use ARCH instead of MACHINE_ARCH (will possibly allow cross-compilation).
- Rename local WX_VERSION since it is a variable defined in bsd.wx.mk.
- Remove BROKEN for 4.x since bsd.wx.mk takes care of it when WX_UNICODE is
defined.
PR: ports/105492
Submitted by: alepulver
Approved by: Denis Barov <dindin@dindin.ru> (maintainer)
-rw-r--r-- | databases/flamerobin/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/databases/flamerobin/Makefile b/databases/flamerobin/Makefile index 2061eb3d094d..075451f9a466 100644 --- a/databases/flamerobin/Makefile +++ b/databases/flamerobin/Makefile @@ -19,28 +19,22 @@ LIB_DEPENDS= fbclient.1:${PORTSDIR}/databases/firebird-client USE_WX= 2.6 WX_COMPS= wx contrib +WX_CONF_ARGS= absolute +WX_PREMK= yes WX_UNICODE= yes -GNU_CONFIGURE= yes USE_X_PREFIX= yes - -WX_CONFIG= ${X11BASE}/bin/wxgtk2u-2.6-config +GNU_CONFIGURE= yes +CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL} SUB_FILES= pkg-message MAN1= flamerobin.1 -.if exists(${WX_CONFIG}) -WX_VERSION!= ${WX_CONFIG} --release -PLIST_SUB+= WX_VERSION=${WX_VERSION} -.endif - -CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} - .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= Does not compile on FreeBSD 4.x +.if exists(${WX_CONFIG}) +WX_VER_STR!= ${WX_CONFIG} --release +PLIST_SUB+= WX_VERSION=${WX_VER_STR} .endif post-install: |