diff options
author | jtb <jtb> | 2003-06-29 23:52:03 +0000 |
---|---|---|
committer | jtb <jtb> | 2003-06-29 23:52:03 +0000 |
commit | 224a4cd3d351052abb2b637f97fbc50ce13a3846 (patch) | |
tree | 3c148061839bd2cb1e15f6743c32c07416d80e0e /net/unison/Makefile | |
parent | 73397ca6b0d9e558112679ccf94d601bda7c08ad (diff) | |
download | pkgsrc-224a4cd3d351052abb2b637f97fbc50ce13a3846.tar.gz |
Remove build time dependency on bash.
Build with posix threads if supported ocaml.
Diffstat (limited to 'net/unison/Makefile')
-rw-r--r-- | net/unison/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/net/unison/Makefile b/net/unison/Makefile index 2fba6f5ba04..8d596e458e8 100644 --- a/net/unison/Makefile +++ b/net/unison/Makefile @@ -1,5 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2003/06/23 20:36:14 jtb Exp $ -# +# $NetBSD: Makefile,v 1.15 2003/06/29 23:52:03 jtb Exp $ DISTNAME= src PKGNAME= unison-2.9.1 @@ -13,7 +12,6 @@ HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/ COMMENT= file-synchronization tool BUILD_DEPENDS= ocaml>=3.00:../../lang/ocaml -BUILD_DEPENDS+= bash>=2.05:../../shells/bash2 DIST_SUBDIR= ${PKGNAME_NOREV} @@ -24,10 +22,18 @@ MAKE_ENV+= HOME=${WRKDIR} .include "../../mk/bsd.prefs.mk" -.if (${MACHINE_ARCH} != "i386") || (${MACHINE_ARCH} != "powerpc") || (${MACHINE_ARCH} != "sparc") +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc") +MAKE_FLAGS+= NATIVE=true +.else MAKE_FLAGS+= NATIVE=false .endif +.include "../../mk/pthread.buildlink2.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} != "none") +MAKE_FLAGS+= THREADS=true +.endif + post-install: ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/unison ${INSTALL_MAN} ${WRKSRC}/BUGS.txt ${PREFIX}/share/doc/unison |