aboutsummaryrefslogtreecommitdiff
path: root/graphics/crw
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/crw')
-rw-r--r--graphics/crw/Makefile5
1 files changed, 5 insertions, 0 deletions
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 <bsd.port.mk>