forked from Lainports/freebsd-ports
- Respect %%PREFIX%%
- Bump PORTREVISION PR: 110466 Submitted by: Helge Oldach <ports-vpnc-mar07@oldach.net> (maintainer)
This commit is contained in:
parent
57330813f3
commit
3eaaec99dd
2 changed files with 10 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= vpnc
|
||||
PORTVERSION= 0.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,15 @@
|
|||
}
|
||||
|
||||
static const char *config_def_vendor(void)
|
||||
@@ -485,7 +485,7 @@
|
||||
{
|
||||
char *realname;
|
||||
|
||||
- asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "/etc/vpnc/", name, add_dot_conf ? ".conf" : "");
|
||||
+ asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "%%PREFIX%%/etc/vpnc/", name, add_dot_conf ? ".conf" : "");
|
||||
return realname;
|
||||
}
|
||||
|
||||
@@ -701,8 +701,8 @@
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue