[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / db4

File: [cvs.NetBSD.org] / pkgsrc / databases / db4 / Makefile (download)

Revision 1.72, Thu Feb 14 14:36:06 2019 UTC (21 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, HEAD
Changes since 1.71: +2 -1 lines

Add support for mutexes on aarch64 with GCC.  Bump PKGREVISION to 1.

# $NetBSD: Makefile,v 1.72 2019/02/14 14:36:06 thorpej Exp $
#
# NOTE:
# When updating this package, a change in the minor (4.n -> 4.(n+1))
# usually incurs a shlib name change. Please make sure to update the
# ABI depends in buildlink3.mk and bump PKGREVISIONs for all dependencies.
# In particular, take care to include BDB_ACCEPTED=db4 packages.

DISTNAME=	db-4.8.30
PKGNAME=	${DISTNAME:S/db/db4/}
PKGREVISION=	1
CATEGORIES=	databases
MASTER_SITES=	http://download.oracle.com/berkeley-db/
MASTER_SITES+=	http://download-uk.oracle.com/berkeley-db/

#PATCHFILES=	patch.4.8.30.1
#PATCH_SITES=	http://www.oracle.com/technology/products/berkeley-db/db/update/4.8.30/

MAINTAINER=	pkgsrc-users@NetBSD.org
#HOMEPAGE=	https://www.oracle.com/database/berkeley-db/db/index.html
COMMENT=	Berkeley DB version 4 from Oracle
LICENSE=	sleepycat-public

USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
USE_TOOLS+=		pax
GNU_CONFIGURE=		yes
CONFIGURE_DIRS=		build_unix
CONFIGURE_SCRIPT=	../dist/configure
CONFIGURE_ARGS+=	--enable-compat185
CONFIGURE_ARGS+=	--enable-cxx
CONFIGURE_ARGS+=	--includedir=${PREFIX}/include/db4
CONFIGURE_ARGS+=	--program-transform-name=s,db_,db4_,

.include "options.mk"

# DB4 only want pthreads because it's really after POSIX 1003.1
# inter-process mutexes.  In this case, we only care to use the native
# threads.
PTHREAD_OPTS+=		native
.include "../../mk/pthread.buildlink3.mk"

INSTALLATION_DIRS=	include/db4 lib share/doc/db4

post-install:
	chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db4

.include "../../mk/bsd.pkg.mk"