summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-12-09 07:07:49 +0000
committerXin LI <delphij@FreeBSD.org>2009-12-09 07:07:49 +0000
commit7d2fb1e2926e0fbbbc6f688158c4842c230098c0 (patch)
tree0f5316099ec5ba5ee930d74c6cc2375b72485a9e /databases
parent- Update to 1.75 (diff)
Handle custom LOCALBASE.
Reported by: QAT Submitted by: wen
Notes
Notes: svn path=/head/; revision=245440
Diffstat (limited to 'databases')
-rw-r--r--databases/libdbi-drivers/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/libdbi-drivers/Makefile b/databases/libdbi-drivers/Makefile
index 444ca3da0eef..952a6372c4e5 100644
--- a/databases/libdbi-drivers/Makefile
+++ b/databases/libdbi-drivers/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libdbi-drivers
DISTVERSION= 0.8.3-1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= databases devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.8.3-1
@@ -98,7 +98,8 @@ PLIST_SUB+= INGRES="@comment "
PLIST_SUB+= ORACLE="@comment "
post-patch:
- @${REINPLACE_CMD} -e 's|-O20|${CFLAGS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O20|${CFLAGS}|g' \
+ -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
@${TOUCH} ${WRKSRC}/drivers/*/dbd_*/*
.include <bsd.port.post.mk>