diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile index 652339897bac..1564f22d1ed3 100644 --- a/graphics/agg/Makefile +++ b/graphics/agg/Makefile @@ -1,29 +1,37 @@ PORTNAME= agg PORTVERSION= 2.5 PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= http://distfiles.alpinelinux.org/distfiles/ \ http://distfiles.lesslinux.org/ \ http://gentoo.netnitco.net/distfiles/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= High Quality Rendering Engine for C++ WWW= http://www.antigrain.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/copying LIB_DEPENDS= libfreetype.so:print/freetype2 -GNU_CONFIGURE= yes USES= autoreconf cpe gmake libtool pathfix pkgconfig sdl xorg CPE_VENDOR= antigrain -USE_XORG= x11 -USE_SDL= sdl USE_LDCONFIG= yes +USE_SDL= sdl +USE_XORG= x11 + +GNU_CONFIGURE= yes + INSTALL_TARGET= install-strip +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-patch: @${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am .include