aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-BDB
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-08-08 21:46:50 +0800
committermat <mat@FreeBSD.org>2016-08-08 21:46:50 +0800
commitaccc153f0c7ee632df7b714f1861b98898e90e7c (patch)
tree509f9c56f6c9e206681219518e92866874b3ae54 /databases/p5-BDB
parentc333a42bbacfd478a1ae703c628fc3f6f2ce3575 (diff)
downloadfreebsd-ports-gnome-accc153f0c7ee632df7b714f1861b98898e90e7c.tar.gz
freebsd-ports-gnome-accc153f0c7ee632df7b714f1861b98898e90e7c.tar.zst
freebsd-ports-gnome-accc153f0c7ee632df7b714f1861b98898e90e7c.zip
USE_BDB cleanup.
- USE_BDB=4x+ -> USES=bdb. - USE_BDB=yes -> USES=bdb. - USE_BDB=xx -> USES=bdb:xx. Other modernisations when I see them. PR: 209183 Sponsored by: Absolight
Diffstat (limited to 'databases/p5-BDB')
-rw-r--r--databases/p5-BDB/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/databases/p5-BDB/Makefile b/databases/p5-BDB/Makefile
index ee56f1e62874..dd371ca36932 100644
--- a/databases/p5-BDB/Makefile
+++ b/databases/p5-BDB/Makefile
@@ -21,9 +21,8 @@ PORTSCOUT= skipv:1.801
CFLAGS+= -I${BDB_INCLUDE_DIR}
LDFLAGS+= -lpthread
-USE_BDB= yes
USE_PERL5= configure
-USES= perl5
+USES= bdb perl5
post-patch:
@${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|' ${WRKSRC}/Makefile.PL