diff options
author | Max Khon <fjoe@FreeBSD.org> | 2010-11-30 16:33:03 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2010-11-30 16:33:03 +0000 |
commit | 48739d26c4b504575d94ab0471c8ed240559bbe2 (patch) | |
tree | f7215162650b2d5c99bef4bccc44cf1fcdff61c2 | |
parent | ea3e6880a90343c171718b6e461e668f20be1208 (diff) | |
download | ports-48739d26c4b504575d94ab0471c8ed240559bbe2.tar.gz ports-48739d26c4b504575d94ab0471c8ed240559bbe2.zip |
Fix installation into /var.
Notes
Notes:
svn path=/head/; revision=265459
-rw-r--r-- | net/asterisk14/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile index 97f1719e773c..7f3f92defcd1 100644 --- a/net/asterisk14/Makefile +++ b/net/asterisk14/Makefile @@ -57,6 +57,10 @@ OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \ .include <bsd.port.pre.mk> +.if ${PREFIX} == ${LOCALBASE} +CONFIGURE_ARGS+=--localstatedir=/var +.endif + .if ${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "sparc64" OPTIONS+= DAHDI "Enable DAHDI support" on |