From 39a58f35a9cbeed48b5e4531c1346d34a8510806 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Sat, 25 Sep 2010 18:20:25 +0000 Subject: Respect PREFIX and CFLAGS PR: ports/150604 Submitted by: Tim Bishop Reviewed by: Anonymous Approved by: Andriy Gapon (maintainer) --- sysutils/superiotool/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysutils') diff --git a/sysutils/superiotool/Makefile b/sysutils/superiotool/Makefile index ca85e3fd8665..6c778e93f2c1 100644 --- a/sysutils/superiotool/Makefile +++ b/sysutils/superiotool/Makefile @@ -37,6 +37,8 @@ gen-dist: post-patch: @${REINPLACE_CMD} -e 's#/share/man/#/man/#g' -e 's#-ansi##g' \ + -Ee '\#^(CC|INSTALL|PREFIX)#s#=#?=#' \ + -e '\#^CFLAGS#s#=#+=#' -e 's#-O2##' \ ${WRKSRC}/Makefile .include -- cgit v1.2.3