diff options
Diffstat (limited to 'net/dhcpcd')
-rw-r--r-- | net/dhcpcd/Makefile | 1 | ||||
-rw-r--r-- | net/dhcpcd/files/dhcpcd.in | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile index c7b4696a60ac..305dec54ff4d 100644 --- a/net/dhcpcd/Makefile +++ b/net/dhcpcd/Makefile @@ -6,6 +6,7 @@ PORTNAME= dhcpcd PORTVERSION= 3.1.8 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_BERLIOS} MASTER_SITE_SUBDIR= dhcpcd diff --git a/net/dhcpcd/files/dhcpcd.in b/net/dhcpcd/files/dhcpcd.in index 1dd02b1a0d01..8e3fe04a8b70 100644 --- a/net/dhcpcd/files/dhcpcd.in +++ b/net/dhcpcd/files/dhcpcd.in @@ -4,12 +4,12 @@ # KEYWORD: nojail nostart # -. /etc/rc.subr +. %%RC_SUBR%% . /etc/network.subr name="dhcpcd" ifn="$2" -command="/usr/local/sbin/dhcpcd" +command="%%PREFIX%%/sbin/dhcpcd" command_args="$ifn" pidfile="/var/run/dhcpcd-$ifn.pid" start_precmd="dhcpcd_precmd" @@ -23,7 +23,7 @@ dhcpcd_precmd() fi # dhcpcd may need local binaries - export PATH=${PATH}:/usr/local/sbin + export PATH=${PATH}:%%PREFIX%%/sbin } load_rc_config $name |