freebsd-ports/editors/madedit/Makefile
Xin LI be73385ad8 madedit makes use of hidden symbol feature of gcc while our system header
don't like it.  The recent addition of hidden symbol feature have exposed
this issue.

This is a minimal set of change that makes it work.

Pointed out by:	tinderbox via miwi and pav
2011-03-23 00:04:29 +00:00

40 lines
973 B
Makefile

# New ports collection makefile for: madedit
# Date created: 2007-08-08
# Whom: Xin LI <delphij@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= madedit
PORTVERSION= 0.2.9
PORTREVISION= 5
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/MadEdit/MadEdit-${PORTVERSION}
MAINTAINER= delphij@FreeBSD.org
COMMENT= An open-source and cross-platform text/hex editor
USE_GETTEXT= yes
USE_WX= 2.6+
WANT_UNICODE= yes
MAKE_JOBS_SAFE= yes
USE_DOS2UNIX= yes
LIB_DEPENDS+= boost_regex:${PORTSDIR}/devel/boost-libs
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG}
CONFIGURE_ENV+= PKG_CONFIG="${PKG_CONFIG}" glib_gtk2_CFLAGS="${glib_gtk2_CFLAGS}" glib_gtk2_LIBS="${glib_gtk2_LIBS}"
CXXFLAGS+= ${glib_gtk2_CFLAGS}
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
glib_gtk2_CFLAGS=`${PKG_CONFIG} --cflags gtk+-2.0`
glib_gtk2_LIBS= `${PKG_CONFIG} --libs gtk+-2.0`
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile
.endif
.include <bsd.port.post.mk>