pkgsrc-WIP-changes archive

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

cde: include gettext-tools for msgfmt.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Wed Jan 18 14:27:31 2023 +0100
Changeset:	5d04ad62e3505ca0ae241f8f9a526972a3a6cf34

Modified Files:
	cde/Makefile

Log Message:
cde: include gettext-tools for msgfmt.

Do not exclude docs from directory searched for paths to replace.

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

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

diffstat:
 cde/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diffs:
diff --git a/cde/Makefile b/cde/Makefile
index e3befe4b7f..a9fd9b5060 100644
--- a/cde/Makefile
+++ b/cde/Makefile
@@ -112,15 +112,15 @@ post-extract:
 
 pre-configure:
 	${RUN}${CHMOD} u+w ${WRKDIR}/*
-	${RUN}for f in `${FIND} ${WRKSRC} -type f ! -path doc | ${XARGS} ${GREP} -l '/usr/bin/X11'`; do \
+	${RUN}for f in `${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l '/usr/bin/X11'`; do \
 		${ECHO} Replacing X11 binary path in $$f ; \
 		${SED} -e 's:/usr/bin/X11:${X11BASE}/bin:g' $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
 	done
-	${RUN}for f in `${FIND} ${WRKSRC} -type f ! -path doc | ${XARGS} ${GREP} -l '/usr/dt'`; do \
+	${RUN}for f in `${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l '/usr/dt'`; do \
 		${ECHO} Replacing CDE prefix in $$f ; \
 		${SED} -e 's:/usr/dt:${PREFIX}/dt:g' $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
 	done
-	${RUN}for f in `${FIND} ${WRKSRC} -type f ! -path doc | ${XARGS} ${GREP} -l '/etc/dt'`; do \
+	${RUN}for f in `${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l '/etc/dt'`; do \
 		${ECHO} Replacing CDE syscondir in $$f ; \
 		${SED} -e 's:/etc/dt:${PKG_SYSCONFDIR}/dt:g' $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
 	done
@@ -150,6 +150,7 @@ post-install:
 .include "../../x11/libXt/buildlink3.mk"
 
 .include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-tools/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../textproc/opensp/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"


Home | Main Index | Thread Index | Old Index