summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/dhcpcd/Makefile1
-rw-r--r--net/dhcpcd/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile
index c13b556b5a3e..fbd948efe28c 100644
--- a/net/dhcpcd/Makefile
+++ b/net/dhcpcd/Makefile
@@ -3,6 +3,7 @@
PORTNAME= dhcpcd
PORTVERSION= 5.5.6
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://roy.marples.name/downloads/dhcpcd/ \
LOCAL/delphij
diff --git a/net/dhcpcd/pkg-plist b/net/dhcpcd/pkg-plist
index f27ade4bd7d4..33125857ecb6 100644
--- a/net/dhcpcd/pkg-plist
+++ b/net/dhcpcd/pkg-plist
@@ -10,3 +10,4 @@ libexec/dhcpcd-hooks/30-hostname
libexec/dhcpcd-hooks/01-test
libexec/dhcpcd-hooks/29-lookup-hostname
libexec/dhcpcd-run-hooks
+@unexec [ -s %D/libexec/dhcpcd-hooks ] || rm -f %D/libexec/dhcpcd-hooks