aboutsummaryrefslogtreecommitdiff
path: root/databases/libdbi-drivers
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libdbi-drivers')
-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>