aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk12
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-12-17 15:00:19 +0800
committerlawrance <lawrance@FreeBSD.org>2005-12-17 15:00:19 +0800
commit4aa7399a9d24b0478c8a9f571bc1a97d40d79e68 (patch)
treeace24585433c28f15fb5d43c2f4fcc681fbd851e /net/asterisk12
parentc2a56eaae96204db45ad021eab3866cefccd4553 (diff)
downloadfreebsd-ports-gnome-4aa7399a9d24b0478c8a9f571bc1a97d40d79e68.tar.gz
freebsd-ports-gnome-4aa7399a9d24b0478c8a9f571bc1a97d40d79e68.tar.zst
freebsd-ports-gnome-4aa7399a9d24b0478c8a9f571bc1a97d40d79e68.zip
Use correct WRKSRC paths for pwlib and openh323 when WRKDIRPREFIX
is set to a non-default value. PR: ports/72973 Submitted by: Vivek Khera <vivek@khera.org> Approved by: sobomax (maintainer, timeout 13 months)
Diffstat (limited to 'net/asterisk12')
-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