summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-08-04 06:49:41 +0000
committerxtraeme <xtraeme>2004-08-04 06:49:41 +0000
commit9b03e17033672db952d8171efd5da266e41cd9ce (patch)
tree0f36a96bed894ff3df652a641ae86ec1dc7edcf6
parent33c43f8c51abb642368974b647bef25ca1f981f1 (diff)
downloadpkgsrc-9b03e17033672db952d8171efd5da266e41cd9ce.tar.gz
Fix for xmkmf, which had the buildlink directory embedded to look for
config files, fixes PR pkg/26505 by Kouichirou Hiratsuka.
-rw-r--r--x11/xorg-imake/Makefile7
1 files changed, 6 insertions, 1 deletions
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}