diff options
Diffstat (limited to 'net/asterisk14/Makefile')
-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 |