From d714472abcdcdab0fc6c62538c27f8f9165b01b1 Mon Sep 17 00:00:00 2001 From: khorben Date: Tue, 29 Mar 2016 15:13:59 +0000 Subject: Add support for CFLAGS and LDFLAGS to x11/xp This fixes building the package with PKGSRC_MKPIE. It is not a leaf package but only one other package depends on it (x11/libXprintAppUtil). Reviewed by wiz@ --- x11/xp/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'x11/xp') diff --git a/x11/xp/Makefile b/x11/xp/Makefile index 7c1763c4c60..dc64db1150d 100644 --- a/x11/xp/Makefile +++ b/x11/xp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2016/03/10 07:40:23 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2016/03/29 15:13:59 khorben Exp $ DISTNAME= xp-1.2b10 PKGREVISION= 4 @@ -9,6 +9,8 @@ MAINTAINER= jdc@NetBSD.org COMMENT= Fast X11 text file viewer using Athena widgets USE_IMAKE= yes +MAKE_FLAGS+= CCOPTIONS=${CFLAGS:Q} +MAKE_FLAGS+= EXTRA_LDOPTIONS=${LDFLAGS:Q} MAKE_FLAGS+= MANPATH=${PREFIX}/${PKGMANDIR} MAKE_FLAGS+= XPTOP=${PREFIX} MAKE_FLAGS+= XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -- cgit v1.2.3