openbsd-ports/www/kazehakase/patches/patch-configure
2008-03-18 19:25:55 +00:00

19 lines
705 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2008/03/18 19:25:55 landry Exp $
--- configure.orig Fri Feb 29 14:49:47 2008
+++ configure Sat Mar 15 14:07:27 2008
@@ -31444,13 +31444,7 @@ done
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
esac ;;
"rgettext":C)
-sed \
- -i'' \
- -e "s/EXTRA_DISTFILES = /EXTRA_DISTFILES = rgettext.mk.in /
- s/^itlocaledir = /itlocaledir = \$(datadir)\/locale\n#itlocaledir = /
- / \$(GENPOT)/r po/rgettext.mk
- " \
- po/Makefile
+perl -i -pe 's/^itlocaledir = /itlocaledir = \$\(datadir\)\/locale\n#itlocaledir = /' po/Makefile
;;
"po/stamp-it":C)
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"