From fbb45fd93b8d23b028afcf053aca9483cfc60933 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 4 Aug 2004 06:49:41 +0000 Subject: Fix for xmkmf, which had the buildlink directory embedded to look for config files, fixes PR pkg/26505 by Kouichirou Hiratsuka. --- x11/xorg-imake/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'x11/xorg-imake') diff --git a/x11/xorg-imake/Makefile b/x11/xorg-imake/Makefile index 07b77bcf67b..b58cc8a6981 100644 --- a/x11/xorg-imake/Makefile +++ b/x11/xorg-imake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/07/31 01:37:23 xtraeme Exp $ +# $NetBSD: Makefile,v 1.8 2004/08/04 06:49:41 xtraeme Exp $ DISTNAME= ${DISTFILES} PKGNAME= xorg-imake-${XORG_VER} @@ -38,6 +38,11 @@ post-extract: @${MV} ${WRKSRC}/config/cf/${F}.cf ${WRKSRC}/config/cf/${F}.cf.in .endfor .undef F + @${SED} -e "s|CONFIGDIRSPEC|-I${X11ROOT}/lib/X11/config|" \ + ${WRKSRC}/config/util/xmkmf.cpp > \ + ${WRKSRC}/config/util/xmkmf.cpp.orig + @${MV} ${WRKSRC}/config/util/xmkmf.cpp.orig \ + ${WRKSRC}/config/util/xmkmf.cpp pre-configure: .for F in ${SYSTEMS} -- cgit v1.2.3