42428df5a0
rather than PKG_FAIL_REASON, so that they provide useful error messages in build logs, and so that they continue to work on platforms where they aren't broken.
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2006/01/04 04:29:05 schmonz Exp $
|
|
|
|
DISTNAME= db-3.3.11
|
|
PKGNAME= java-db3-3.11.2
|
|
PKGREVISION= 1
|
|
CATEGORIES= databases java
|
|
MASTER_SITES= http://www.sleepycat.com/update/3.3.11/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.sleepycat.com/
|
|
COMMENT= Java interface to Sleepycat Software's Berkeley DB version 3
|
|
|
|
BROKEN_IN= pkgsrc-2005Q4
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
PATCHFILES= patch.3.3.11.1 patch.3.3.11.2
|
|
PATCH_DIST_ARGS= -d ${WRKSRC}/.. --forward --quiet
|
|
|
|
DISTINFO_FILE?= ${.CURDIR}/../db3/distinfo
|
|
PATCHDIR?= ${.CURDIR}/../db3/patches
|
|
|
|
JAVAC= ${PKG_JAVA_HOME}/bin/javac
|
|
JAR= ${PKG_JAVA_HOME}/bin/jar
|
|
JAVACABS= ${JAVAC}
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
|
CONFIG_SUB_OVERRIDE+= ../dist/config.sub
|
|
CONFIG_GUESS_OVERRIDE+= ../dist/config.guess
|
|
|
|
CONFIGURE_ARGS+= --program-transform-name=s,db_,db3_,
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db3
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
CONFIGURE_ARGS+= --enable-java
|
|
CONFIGURE_ENV+= JAVAC=${JAVAC:Q}
|
|
CONFIGURE_ENV+= JAVACABS=${JAVACABS:Q}
|
|
CONFIGURE_ENV+= JAR=${JAR:Q}
|
|
|
|
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.${PKG_JVM}}
|
|
|
|
BUILD_TARGET= libdb3_java.la java
|
|
INSTALL_TARGET= install_java
|
|
|
|
.include "../../databases/db3/buildlink3.mk"
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|