openbsd-ports/www/kazehakase/patches/patch-configure
landry 1c10b87871 Update to kazehakase 0.5.4, out since some weeks.
While here, fix WANTLIB, add licence version, and update patches.

ok ajacoutot@
2008-06-08 16:05:23 +00:00

19 lines
705 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2008/06/08 16:05:23 landry Exp $
--- configure.orig Sat Mar 29 09:20:56 2008
+++ configure Wed Apr 2 17:12:20 2008
@@ -31100,13 +31100,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"