blob: 41731b9ffc7471fbd74fefb6b4c6bd25179169ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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.90
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MLEHMANN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//}
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}
USE_PERL5= configure
USES= perl5
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>
|