pkgsrc/comms/gsmlib/patches/patch-ad
2010-01-29 16:27:13 +00:00

25 lines
886 B
Text

$NetBSD: patch-ad,v 1.1 2010/01/29 16:27:13 joerg Exp $
--- po/Makefile.in.in.orig 2010-01-29 16:20:35.000000000 +0000
+++ po/Makefile.in.in
@@ -113,16 +113,16 @@ install-data: install-data-@USE_NLS@
install-data-no: all
install-data-yes: all
if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $(datadir); \
+ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \
else \
- $(SHELL) ../scripts/mkinstalldirs $(datadir); \
+ $(SHELL) ../scripts/mkinstalldirs ${DESTDIR}$(datadir); \
fi
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
case "$$cat" in \
- *.gmo) destdir=$(gnulocaledir);; \
- *) destdir=$(localedir);; \
+ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \
+ *) destdir=${DESTDIR}$(localedir);; \
esac; \
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
dir=$$destdir/$$lang/LC_MESSAGES; \