1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/graphics/agg/Makefile
Muhammad Moinur Rahman 95274bf4f9 */*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.

- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
  1302507 and less than 1400000

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-07-26 02:48:20 +02:00

33 lines
716 B
Makefile

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= 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
USES= autoreconf cpe gmake libtool pathfix pkgconfig sdl xorg
CPE_VENDOR= antigrain
USE_CXXSTD= c++14
USE_LDCONFIG= yes
USE_SDL= sdl
USE_XORG= x11
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am
.include <bsd.port.mk>