diff options
Diffstat (limited to 'databases/flamerobin')
-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: |