Contribs: fix previous commit
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 9 Nov 2011 19:35:33 +0000 (20:35 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 9 Nov 2011 19:35:33 +0000 (20:35 +0100)
contrib/src/zvbi/rules.mak

index 725dd94..1fb376b 100644 (file)
@@ -42,6 +42,6 @@ endif
        cd $< && $(HOSTVARS) CFLAGS="$(ZVBI_CFLAGS)" ./configure $(ZVBICONF)
        cd $</src && $(MAKE) install
        cd $< && $(MAKE) SUBDIRS=. install
-       cat "$(PREFIX)/lib/pkgconfig/zvbi-0.2.pc" | sed -e s/\/'[^ ]*libiconv.a'/-liconv/ > $</zvbi-iconv-fixed.pc
+       cat "$(PREFIX)/lib/pkgconfig/zvbi-0.2.pc" | sed -e "e/\/'[^ ]*libiconv.a'/-liconv/" >! $</zvbi-iconv-fixed.pc
        mv $</zvbi-iconv-fixed.pc "$(PREFIX)/lib/pkgconfig/zvbi-0.2.pc"
        touch $@