pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compat32_libgpg-error: Adapt Makefile to honor ${PREFIX}/emul/netbsd32/share



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Tue Jul 23 20:47:53 2019 +0200
Changeset:	17115707a6bc2e9ae4a76c176e417b5d1af1bb06

Modified Files:
	compat32_libgpg-error/Makefile

Log Message:
compat32_libgpg-error: Adapt Makefile to honor ${PREFIX}/emul/netbsd32/share

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=17115707a6bc2e9ae4a76c176e417b5d1af1bb06

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 compat32_libgpg-error/Makefile | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diffs:
diff --git a/compat32_libgpg-error/Makefile b/compat32_libgpg-error/Makefile
index 173b5ba629..f00a315043 100644
--- a/compat32_libgpg-error/Makefile
+++ b/compat32_libgpg-error/Makefile
@@ -18,12 +18,26 @@ USE_PKGLOCALEDIR=	yes
 USE_TOOLS+=		gmake
 GNU_CONFIGURE=		yes
 GNU_CONFIGURE_PREFIX=	${PREFIX}/emul/netbsd32/
-CONFIGURE_ARGS+=	--datarootdir=${PREFIX}/emul/netbsd32/share/
+#CONFIGURE_ARGS+=	--datarootdir=${PREFIX}/emul/netbsd32/share/
+#CONFIGURE_ARGS+=	--localedir=${PREFIX}/emul/netbsd32/share/
 INFO_FILES=		yes
 TEST_TARGET=		check
 
 .include "../../mk/bsd.prefs.mk"
 
+SUBST_CLASSES+=         makefile
+SUBST_STAGE.makefile=   pre-build
+SUBST_MESSAGE.makefile= Fixing makefile
+SUBST_FILES.makefile+=  Makefile
+SUBST_FILES.makefile+= 	m4/Makefile
+SUBST_FILES.makefile+=	tests/Makefile
+SUBST_FILES.makefile+=	lang/cl/Makefile
+SUBST_FILES.makefile+=	lang/Makefile
+SUBST_FILES.makefile+=	doc/Makefile
+SUBST_FILES.makefile+=	src/Makefile
+SUBST_FILES.makefile+=	po/Makefile
+SUBST_SED.makefile=     -e 's, /usr/pkg/share/locale,${PREFIX}/emul/netbsd32/share/locale,g'
+
 .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
 CONFIGURE_ENV+=		CC_FOR_BUILD=${NATIVE_CC:Q}
 .else


Home | Main Index | Thread Index | Old Index