Revision
115516
Author
g5pw@macports.org
Date
2014-01-03 15:00:38 -0800 (Fri, 03 Jan 2014)

Log Message

security/pass:
  fix #42002

Modified Paths

Added Paths

Diff

Modified: trunk/dports/security/pass/Portfile (115515 => 115516)


--- trunk/dports/security/pass/Portfile	2014-01-03 22:17:15 UTC (rev 115515)
+++ trunk/dports/security/pass/Portfile	2014-01-03 23:00:38 UTC (rev 115516)
@@ -3,6 +3,7 @@
 PortSystem      1.0
 name                pass
 version             1.4.2
+revision            1
 maintainers         g5pw openmaintainer
 categories          security
 description         ${name} is the standard unix password manager
@@ -22,6 +23,8 @@
 checksums           rmd160  8f496a3c302ebe56bbbab002401e1a3efe1e1eaa \
                     sha256  a10a8016a3d6bb32891a9a4086ac0a049587db1a55c1ac3b431c66189bc1a302
 
+patchfiles          Makefile.diff
+
 use_configure       no
 build {}
 

Added: trunk/dports/security/pass/files/Makefile.diff (0 => 115516)


--- trunk/dports/security/pass/files/Makefile.diff	                        (rev 0)
+++ trunk/dports/security/pass/files/Makefile.diff	2014-01-03 23:00:38 UTC (rev 115516)
@@ -0,0 +1,11 @@
+--- Makefile	2012-10-18 15:47:58.000000000 +0200
++++ Makefile.new	2014-01-03 23:46:23.000000000 +0100
+@@ -30,7 +30,7 @@
+ install-platform:
+ 	@install -m 0644 -v "$(PLATFORMFILE)" "$(DESTDIR)$(LIBDIR)/password-store.platform.sh"
+ #	The -i "" doesn't work on GNU, where the extra argument isn't needed. Fortuantely, platform file is for non-GNU only.
+-	sed -i "" 's:.*platform-defined-functions.*:source $(DESTDIR)$(LIBDIR)/password-store.platform.sh:' "$(DESTDIR)$(BINDIR)/pass"
++	sed -i "" 's:.*platform-defined-functions.*:source $(LIBDIR)/password-store.platform.sh:' "$(DESTDIR)$(BINDIR)/pass"
+ else
+ install-platform:
+ endif