diff options
author | Lars Engels <lme@FreeBSD.org> | 2008-01-01 16:13:00 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2008-01-01 16:13:00 +0000 |
commit | b81d36b196acc201aaa2334073da1d2d862983f5 (patch) | |
tree | 37af5f8464035382315901a3472b603dd98518ac /net/dhcpcd | |
parent | c30d826c1402686045abf2d0ae00f5b9daf82c3c (diff) |
Notes
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 |