aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-09 15:07:49 +0800
committerdelphij <delphij@FreeBSD.org>2009-12-09 15:07:49 +0800
commit5cd37c6c9d81e46c336551487cb37289eeb9481b (patch)
tree7985f8c106eb18e04aaf18890aa68f40486d4e87 /databases
parentcab38b26f6d05f0a80a453be8b608b33f6cef252 (diff)
downloadfreebsd-ports-gnome-5cd37c6c9d81e46c336551487cb37289eeb9481b.tar.gz
freebsd-ports-gnome-5cd37c6c9d81e46c336551487cb37289eeb9481b.tar.zst
freebsd-ports-gnome-5cd37c6c9d81e46c336551487cb37289eeb9481b.zip
Handle custom LOCALBASE.
Reported by: QAT Submitted by: wen
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>