Ticket #19784: policykit.patch

File policykit.patch, 2.9 KB (added by jim@…, 15 years ago)

Creates files/patch-doc-man-Makefile.{am,in}.diff and patches Portfile to use them

  • ports/security/policykit/Portfile

    diff -rNU4 --exclude=work sources/rsync.macports.org/release/ports/security/policykit/Portfile /Users/jmeyer/work/ports/security/policykit/Portfile
    old new  
    2626                patch-src-kit-kit-lib.c.diff \
    2727                patch-src-polkit-dbus-polkit-simple.c.diff \
    2828                patch-src-polkit-dbus-polkit-resolve-exe-helper.c.diff \
    2929                patch-src-polkit-grant-polkit-grant-helper.c.diff \
    30                 patch-src-polkit-grant-polkit-grant-helper-pam.c.diff
     30                patch-src-polkit-grant-polkit-grant-helper-pam.c.diff \
     31                patch-doc-man-Makefile.am.diff \
     32                patch-doc-man-Makefile.in.diff
    3133
    3234configure.ldflags-append -L/usr/lib
    3335
    3436configure.args  --with-authfw=pam \
  • ports/security/policykit/files/patch-doc-man-Makefile.am.diff

    diff -rNU4 --exclude=work sources/rsync.macports.org/release/ports/security/policykit/files/patch-doc-man-Makefile.am.diff /Users/jmeyer/work/ports/security/policykit/files/patch-doc-man-Makefile.am.diff
    old new  
     1--- doc/man/Makefile.am.orig    2008-05-30 14:24:44.000000000 -0700
     2+++ doc/man/Makefile.am 2009-05-27 17:53:01.000000000 -0700
     3@@ -8,9 +8,9 @@
     4           PolicyKit.conf.5              \
     5           PolicyKit.8
     6 
     7 %.1 %.5 %.8 : %.xml
     8-       $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
     9+       $(XSLTPROC) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
     10 
     11 endif # MAN_PAGES_ENABLED
     12 
     13 EXTRA_DIST= PolicyKit.conf.xml              \
  • ports/security/policykit/files/patch-doc-man-Makefile.in.diff

    diff -rNU4 --exclude=work sources/rsync.macports.org/release/ports/security/policykit/files/patch-doc-man-Makefile.in.diff /Users/jmeyer/work/ports/security/policykit/files/patch-doc-man-Makefile.in.diff
    old new  
     1--- doc/man/Makefile.in.orig    2008-07-22 09:15:07.000000000 -0700
     2+++ doc/man/Makefile.in 2009-05-27 17:52:58.000000000 -0700
     3@@ -553,9 +553,9 @@
     4        uninstall-man uninstall-man1 uninstall-man5 uninstall-man8
     5 
     6 
     7 @MAN_PAGES_ENABLED_TRUE@%.1 %.5 %.8 : %.xml
     8-@MAN_PAGES_ENABLED_TRUE@       $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
     9+@MAN_PAGES_ENABLED_TRUE@       $(XSLTPROC) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
     10 
     11 clean-local:
     12        rm -f *~ *.1 *.5 *.8
     13 # Tell versions [3.59,3.63) of GNU make to not export all variables.