[116731] trunk/dports/security/pass

g5pw at macports.org g5pw at macports.org
Wed Feb 5 02:26:28 PST 2014


Revision: 116731
          https://trac.macports.org/changeset/116731
Author:   g5pw at macports.org
Date:     2014-02-05 02:26:28 -0800 (Wed, 05 Feb 2014)
Log Message:
-----------
security/pass:
  fix getopt path (closes #42367)

Modified Paths:
--------------
    trunk/dports/security/pass/Portfile

Added Paths:
-----------
    trunk/dports/security/pass/files/patch-getopt-path.diff

Modified: trunk/dports/security/pass/Portfile
===================================================================
--- trunk/dports/security/pass/Portfile	2014-02-05 10:21:33 UTC (rev 116730)
+++ trunk/dports/security/pass/Portfile	2014-02-05 10:26:28 UTC (rev 116731)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 name                pass
 version             1.4.2
-revision            1
+revision            2
 maintainers         g5pw openmaintainer
 categories          security
 description         ${name} is the standard unix password manager
@@ -14,7 +14,8 @@
 
 depends_run			port:git-core \
                     port:gnupg2 \
-                    port:pwgen
+                    port:pwgen \
+                    port:getopt
 
 master_sites        http://git.zx2c4.com/password-store/snapshot/
 distname            password-store-${version}
@@ -23,8 +24,13 @@
 checksums           rmd160  8f496a3c302ebe56bbbab002401e1a3efe1e1eaa \
                     sha256  a10a8016a3d6bb32891a9a4086ac0a049587db1a55c1ac3b431c66189bc1a302
 
-patchfiles          Makefile.diff
+patchfiles          Makefile.diff \
+                    patch-getopt-path.diff
 
+post-patch {
+    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/platform/darwin.sh
+}
+
 use_configure       no
 build {}
 

Added: trunk/dports/security/pass/files/patch-getopt-path.diff
===================================================================
--- trunk/dports/security/pass/files/patch-getopt-path.diff	                        (rev 0)
+++ trunk/dports/security/pass/files/patch-getopt-path.diff	2014-02-05 10:26:28 UTC (rev 116731)
@@ -0,0 +1,8 @@
+--- src/platform/darwin.sh.orig	2014-02-04 14:23:26.000000000 +0100
++++ src/platform/darwin.sh	2014-02-04 14:23:46.000000000 +0100
+@@ -31,4 +31,4 @@
+ 	mount -t hfs -o noatime -o nobrowse "$ramdisk_dev" "$tmp_dir" || exit 1
+ }
+ 
+-GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || echo /usr/local)/bin/getopt"
++GETOPT=@@PREFIX@@/bin/getopt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140205/4685c54c/attachment.html>


More information about the macports-changes mailing list