mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
35 lines
806 B
Makefile
35 lines
806 B
Makefile
# New ports collection makefile for: p5-BDB
|
|
# Date created: 2011-06-05
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= BDB
|
|
PORTVERSION= 1.89
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:MLEHMANN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Asynchronous Berkeley DB access
|
|
|
|
BUILD_DEPENDS= p5-common-sense>=0:${PORTSDIR}/devel/p5-common-sense
|
|
RUN_DEPENDS= p5-common-sense>=0:${PORTSDIR}/devel/p5-common-sense
|
|
|
|
PORTSCOUT= skipv:1.801
|
|
|
|
CFLAGS+= -I${BDB_INCLUDE_DIR}
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
PERL_CONFIGURE= yes
|
|
USE_BDB= 43+
|
|
|
|
MAN3= BDB.3
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '18 s|-lpthread -ldb|-l${BDB_LIB_NAME} ${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.PL
|
|
# @${REINPLACE_CMD} -e '/RPCCLIENT/d' ${WRKSRC}/BDB.pm
|
|
|
|
.include <bsd.port.mk>
|