From 3932f05eeca430735bfcf81b95229cdfb6d9356a Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Tue, 9 Jun 2009 12:50:25 +0000 Subject: Fix build with custom LOCALBASE. Reported by: QATty --- graphics/crw/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphics') diff --git a/graphics/crw/Makefile b/graphics/crw/Makefile index 8d0fd7457ab3..a35762c0264c 100644 --- a/graphics/crw/Makefile +++ b/graphics/crw/Makefile @@ -19,4 +19,9 @@ MAN1= crw.1 MANCOMPRESSED= yes PLIST_FILES= bin/crw +post-patch: + @${REINPLACE_CMD} -e 's,/usr/local/lib,${LOCALBASE}/lib,' \ + -e 's,/usr/local/include,${LOCALBASE}/include,' \ + ${WRKSRC}/Makefile + .include -- cgit v1.2.3