1342eb5a83
Building pkgconf with GCC 14 currently fails with: no option '-Wincompatible-pointer-types-discards-qualifiers' This relaxes warnings for libpkgconf, pkgconf(1), and bomtool(1) until the improvements are published upstream (see PR #444). Co-authored-by: ngie Approved by: ngie Sponsored by: The FreeBSD Foundation Event: Wiesbaden Hackathon 202604 Differential Revision: https://reviews.freebsd.org/D56591
23 lines
407 B
Makefile
23 lines
407 B
Makefile
PACKAGE= pkgconf
|
|
|
|
PROG= pkgconf
|
|
SRCS= main.c
|
|
SRCS+= getopt_long.c
|
|
SRCS+= renderer-msvc.c
|
|
|
|
LIBADD= pkgconf
|
|
|
|
SYMLINKS= pkgconf ${BINDIR}/pkg-config
|
|
|
|
PKGCONFDIR= ${SRCTOP}/contrib/pkgconf
|
|
|
|
WARNS?= 3
|
|
|
|
CFLAGS+= -DSYSTEM_INCLUDEDIR=\"/usr/include\" -DSYSTEM_LIBDIR=\"/usr/lib\"
|
|
CFLAGS+= -I${SRCTOP}/lib/libpkgconf -I${PKGCONFDIR}
|
|
|
|
.PATH: ${PKGCONFDIR}/cli
|
|
.PATH: ${PKGCONFDIR}/man
|
|
|
|
.include <bsd.prog.mk>
|