From 7d2fb1e2926e0fbbbc6f688158c4842c230098c0 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Wed, 9 Dec 2009 07:07:49 +0000 Subject: Handle custom LOCALBASE. Reported by: QAT Submitted by: wen --- databases/libdbi-drivers/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'databases/libdbi-drivers/Makefile') 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 -- cgit v1.2.3