- Respect %%PREFIX%%

- Bump PORTREVISION

PR:             110466
Submitted by:   Helge Oldach <ports-vpnc-mar07@oldach.net> (maintainer)
This commit is contained in:
Martin Wilke 2007-03-21 09:59:20 +00:00
parent 57330813f3
commit 3eaaec99dd
2 changed files with 10 additions and 0 deletions

View file

@ -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/

View file

@ -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 @@
}