aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk12/Makefile')
-rw-r--r--net/asterisk12/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/asterisk12/Makefile b/net/asterisk12/Makefile
index a3d1f27e6a7e..276aa57eb71c 100644
--- a/net/asterisk12/Makefile
+++ b/net/asterisk12/Makefile
@@ -39,8 +39,8 @@ USE_REINPLACE= yes
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
MKDIR="${MKDIR}" \
- PWLIBDIR=${WRKDIRPREFIX}${PORTSDIR}/devel/pwlib/work/pwlib \
- OPENH323DIR=${WRKDIRPREFIX}${PORTSDIR}/net/openh323/work/openh323 \
+ PWLIBDIR=${PWLIBDIR} \
+ OPENH323DIR=${OPENH323DIR} \
OSVERSION=${OSVERSION} \
CXX="${CXX}"
@@ -48,6 +48,9 @@ MAN8= asterisk.8
.include <bsd.port.pre.mk>
+PWLIBDIR!= cd ${PORTSDIR}/devel/pwlib; make -V WRKSRC
+OPENH323DIR!= cd ${PORTSDIR}/net/openh323; make -V WRKSRC
+
.if ${ARCH} != "i386"
WITHOUT_H323= 1
WITHOUT_ZAPTEL= 1