Skip to content

Commit

Permalink
graphics/agg: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy
- Adopt port

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 25, 2023
1 parent 010f15d commit 26ca5c8
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions graphics/agg/Makefile
Expand Up @@ -6,7 +6,7 @@ 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/

Expand All @@ -15,14 +15,22 @@ 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 <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CPPFLAGS+= -Dregister=
.endif

post-patch:
@${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am

Expand Down

0 comments on commit 26ca5c8

Please sign in to comment.