pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/wxGTK28 Use SUBST to fixup hardcoded "/usr/pkg/inc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/35bca9547315
branches: trunk
changeset: 399520:35bca9547315
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Sep 21 17:47:11 2009 +0000
description:
Use SUBST to fixup hardcoded "/usr/pkg/include" in configure script.
Makes configure work with X11_TYPE=modular and LOCALBASE != /usr/pkg
diffstat:
x11/wxGTK28/Makefile.common | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 60ad5b1f45c8 -r 35bca9547315 x11/wxGTK28/Makefile.common
--- a/x11/wxGTK28/Makefile.common Mon Sep 21 17:36:29 2009 +0000
+++ b/x11/wxGTK28/Makefile.common Mon Sep 21 17:47:11 2009 +0000
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile.common,v 1.2 2009/03/23 00:38:55 joerg Exp $
+# $NetBSD: Makefile.common,v 1.3 2009/09/21 17:47:11 tnn Exp $
#
+# used by x11/wxGTK28/Makefile
DISTNAME= wxGTK-2.8.10
CATEGORIES= x11
@@ -43,6 +44,12 @@
PLIST_SUBST+= DEBUG_LIB= DEBUG_CONFIG=-release
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= pre-configure
+SUBST_MESSAGE.fix-paths= Fixing absolute paths.
+SUBST_FILES.fix-paths= configure
+SUBST_SED.fix-paths= -e 's,"/usr/pkg/include,"${PREFIX}/include,g'
+
pre-configure:
mkdir ${WRKSRC}/build-non-unicode ${WRKSRC}/build-unicode
printf '#!%s\n../configure --enable-unicode "$$@"' ${SH:Q} \
Home |
Main Index |
Thread Index |
Old Index