summaryrefslogtreecommitdiff
path: root/mbone/vat/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2000-01-26 22:14:18 +0000
committerjlam <jlam>2000-01-26 22:14:18 +0000
commit2406a9e163380503b9933055eb504d65572f8dcf (patch)
tree0ccdc8522741cb2c2d84bbcb39369378310a6b5c /mbone/vat/Makefile
parente9f1d410ee39553b3ed215de49ada4f1319c90e9 (diff)
downloadpkgsrc-2406a9e163380503b9933055eb504d65572f8dcf.tar.gz
* Get -lgsm from ${PREFIX}/lib
* Get Tcl and Tk build variables from tcl/tkConfig.sh instead of pawing through directory trees.
Diffstat (limited to 'mbone/vat/Makefile')
-rw-r--r--mbone/vat/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/mbone/vat/Makefile b/mbone/vat/Makefile
index 52a7e3db0e1..853aa366445 100644
--- a/mbone/vat/Makefile
+++ b/mbone/vat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2000/01/09 01:39:14 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2000/01/26 22:14:18 jlam Exp $
#
DISTNAME= vatsrc-4.0b2
@@ -10,26 +10,31 @@ MASTER_SITES= ftp://ftp.ee.lbl.gov/conferencing/vat/alpha-test/
MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://www-nrg.ee.lbl.gov/vat/
-# If configure is changed to look for libgsm.a in ${PREFIX}/lib, then
-# we can use this first BUILD_DEPENDS and save some work.
-#BUILD_DEPENDS= ${GSM_WORK}/inc/private.h:${GSM_DIR}:patch
-BUILD_DEPENDS= ${GSM_WORK}/lib/libgsm.a:${GSM_DIR}:build
+BUILD_DEPENDS+= ${GSM_WORK}/inc/private.h:${GSM_DIR}:patch
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
DEPENDS+= tk-8.0.5:../../x11/tk80
-#DEPENDS+= gsm-1.0.10:${GSM_DIR}
+DEPENDS+= gsm-1.0.10:${GSM_DIR}
-NOT_FOR_PLATFORM= *-*-alpha #filter.cc compiler error
+NOT_FOR_PLATFORM= *-*-alpha # filter.cc compiler error
GSM_DIR= ${.CURDIR}/../../audio/gsm
GSM_WORK= ${GSM_DIR}/${WRKDIR:T}/gsm-1.0-pl10
+USE_X11= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gsm=${GSM_WORK}
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
+CPPFLAGS+= -I${LOCALBASE}/include -I${GSM_WORK}/inc
+
INSTALL_TARGET= install install-man
+pre-configure:
+ cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf
+
post-install:
@strip ${PREFIX}/bin/vat
pre-clean:
- @cd ${GSM_DIR} && ${MAKE} clean
+ @cd ${GSM_DIR}; ${MAKE} clean
.include "../../mk/bsd.pkg.mk"