freebsd-ports/editors/xmleditor/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

36 lines
737 B
Makefile

# ex:ts=8
# Ports collection makefile for: xmleditor
# Date created: Jan 18, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xmleditor
PORTVERSION= 0.5.3
PORTREVISION= 10
CATEGORIES= editors
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= XML editor
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BISON= build
USE_GNOME= gnomehack libglade
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
USE_LDCONFIG= yes
# Fix for GCC 4.2
post-patch:
@${REINPLACE_CMD} -e '257s,((char\*)\*n),n,' \
-e '/gtk_xml_modules_add_module/s,const ,,' \
${WRKSRC}/src/gtkxmlmodules.*
.include <bsd.port.mk>