summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2016-03-29 15:13:59 +0000
committerkhorben <khorben@pkgsrc.org>2016-03-29 15:13:59 +0000
commitd714472abcdcdab0fc6c62538c27f8f9165b01b1 (patch)
tree52592e20c47885b83d46c7b2165bced324c6cb7d /x11
parent26b03cbc474a282c1dc049410dcb4fd1f140bc7e (diff)
downloadpkgsrc-d714472abcdcdab0fc6c62538c27f8f9165b01b1.tar.gz
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@
Diffstat (limited to 'x11')
-rw-r--r--x11/xp/Makefile4
1 files changed, 3 insertions, 1 deletions
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