pkgsrc/databases/qdbm/Makefile
wiz c32b0a8e99 Update to 1.8.50, provided by OBATA Akio in PR 33404:
Changes:
2006-04-28  Mikio Hirabayashi

        - The utility API was enhanced.
        - Release: 1.8.50
2006-05-07 10:38:40 +00:00

38 lines
1,015 B
Makefile

# $NetBSD: Makefile,v 1.6 2006/05/07 10:38:40 wiz Exp $
#
.include "Makefile.common"
CATEGORIES= databases
COMMENT= Quick Database Manager - library of routines for managing a db
USE_LIBTOOL= yes
MAKEFILE= LTmakefile
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-zlib
CONFIGURE_ARGS+= --enable-iconv
CONFIGURE_ARGS+= --enable-bzip
CONFIGURE_ARGS+= --enable-lzo
PKGCONFIG_OVERRIDE= qdbm.pc.in
TEST_TARGET= check
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
CONFIGURE_ARGS+= --without-pthread
.else
CONFIGURE_ARGS+= --enable-pthread
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LDFLAGS}
SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= configure
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
.endif
.include "../../mk/bsd.pkg.mk"