svn commit: r426585 - in head: lang/php56 lang/php70 net/isc-dhcp43-client

Baptiste Daroussin bapt at FreeBSD.org
Sun Nov 20 13:10:20 UTC 2016


Author: bapt
Date: Sun Nov 20 13:10:18 2016
New Revision: 426585
URL: https://svnweb.freebsd.org/changeset/ports/426585

Log:
  Use @preunexec rather than @postunexec
  
  Reported by:	antoine

Modified:
  head/lang/php56/pkg-plist
  head/lang/php70/pkg-plist
  head/net/isc-dhcp43-client/pkg-plist

Modified: head/lang/php56/pkg-plist
==============================================================================
--- head/lang/php56/pkg-plist	Sun Nov 20 13:01:15 2016	(r426584)
+++ head/lang/php56/pkg-plist	Sun Nov 20 13:10:18 2016	(r426585)
@@ -186,7 +186,7 @@ include/php/ext/standard/url.h
 include/php/ext/standard/url_scanner_ex.h
 include/php/ext/standard/winver.h
 @postexec touch %D/include/php/ext/php_config.h
- at postunexec [ -s %D/include/php/ext/php_config.h ] || rm %D/include/php/ext/php_config.h
+ at preunexec [ -s %D/include/php/ext/php_config.h ] || rm %D/include/php/ext/php_config.h
 include/php/main/SAPI.h
 include/php/main/build-defs.h
 include/php/main/fopen_wrappers.h

Modified: head/lang/php70/pkg-plist
==============================================================================
--- head/lang/php70/pkg-plist	Sun Nov 20 13:01:15 2016	(r426584)
+++ head/lang/php70/pkg-plist	Sun Nov 20 13:10:18 2016	(r426585)
@@ -188,7 +188,7 @@ include/php/ext/standard/url.h
 include/php/ext/standard/url_scanner_ex.h
 include/php/ext/standard/winver.h
 @postexec touch %D/include/php/ext/php_config.h
- at postunexec [ -s %D/include/php/ext/php_config.h ] || rm %D/include/php/ext/php_config.h
+ at preunexec [ -s %D/include/php/ext/php_config.h ] || rm %D/include/php/ext/php_config.h
 include/php/main/SAPI.h
 include/php/main/build-defs.h
 include/php/main/fastcgi.h

Modified: head/net/isc-dhcp43-client/pkg-plist
==============================================================================
--- head/net/isc-dhcp43-client/pkg-plist	Sun Nov 20 13:01:15 2016	(r426584)
+++ head/net/isc-dhcp43-client/pkg-plist	Sun Nov 20 13:10:18 2016	(r426585)
@@ -6,4 +6,4 @@ man/man8/dhclient.8.gz
 man/man8/dhclient-script.8.gz
 @sample etc/dhclient.conf.example etc/dhclient.conf
 @postexec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases
- at postunexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases
+ at preunexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases


More information about the svn-ports-all mailing list