diff --git a/srcpkgs/gnome-power-manager/patches/dont-build-manpage.patch b/srcpkgs/gnome-power-manager/patches/dont-build-manpage.patch new file mode 100644 index 0000000000..262bc6a962 --- /dev/null +++ b/srcpkgs/gnome-power-manager/patches/dont-build-manpage.patch @@ -0,0 +1,10 @@ +--- Makefile.in.orig 2011-10-20 09:53:34.642615857 +0200 ++++ Makefile.in 2011-10-20 09:53:41.320457440 +0200 +@@ -273,7 +273,6 @@ ACLOCAL_AMFLAGS = -I m4 + SUBDIRS = \ + src \ + po \ +- man \ + data + + EXTRA_DIST = \ diff --git a/srcpkgs/gnome-power-manager/template b/srcpkgs/gnome-power-manager/template index 8d68317da0..68d027503e 100644 --- a/srcpkgs/gnome-power-manager/template +++ b/srcpkgs/gnome-power-manager/template @@ -34,34 +34,5 @@ Add_dependency run desktop-file-utils Add_dependency build pkg-config Add_dependency build intltool -Add_dependency build gnome-doc-utils Add_dependency build gtk+3-devel Add_dependency build upower-devel - -pre_configure() -{ -if [ "$version" = "3.2.1" ]; then - sed -i -e "s|^ gnome-power-manager.sgml \\$||" \ - ${wrksrc}/man/Makefile.am - - sed -i -e "s|^ gnome-power-statistics.sgml$||" ${wrksrc}/man/Makefile.am - - sed -i -e "s|^ gnome-power-manager.1 \\$||" \ - ${wrksrc}/man/Makefile.am - - sed -i -e "s|^ gnome-power-statistics.1$||" ${wrksrc}/man/Makefile.am - - sed -i -e "s|^gnome-power-manager.1: gnome-power-manager.sgml$||" \ - ${wrksrc}/man/Makefile.am - - sed -i -e "s|^gnome-power-statistics.1: gnome-power-statistics.sgml$||" \ - ${wrksrc}/man/Makefile.am - - sed -i -e "s|docbook2man \$\? \&\> \/dev\/null||g" ${wrksrc}/man/Makefile.am - - sed -i -e "s|\\\||g" ${wrksrc}/man/Makefile.am - - rm ${wrksrc}/man/gnome-power-*.sgml -fi - -}