aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-04-13 18:03:34 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-04-13 18:03:34 +0000
commitdfe13a5e0a7bb668f1afe6ebb2299278ba213fdb (patch)
tree6160b9abda4b7061cbc2a8051e1924e02aa59101
parent60b7b031205c76639c8b04b2ac2978961163cc9c (diff)
downloadports-dfe13a5e0a7bb668f1afe6ebb2299278ba213fdb.tar.gz
ports-dfe13a5e0a7bb668f1afe6ebb2299278ba213fdb.zip
- Fix build as non-root by using proper SETENV to reference /usr/bin/env
- Trim header PR: ports/173559 Submitted by: cperciva Reported by: Tilman Blumhagen <tilman.blumhagen@googlemail.com> Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=315797
-rw-r--r--math/lp_solve/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/math/lp_solve/Makefile b/math/lp_solve/Makefile
index 39bb1ca44a25..b756520fb8cf 100644
--- a/math/lp_solve/Makefile
+++ b/math/lp_solve/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: lp_solve
-# Date created: 31 June 2003
-# Whom: Pedro F. Giffuni <giffunip@asme.org>
-#
+# Created by: Pedro F. Giffuni <giffunip@asme.org>
# $FreeBSD$
-#
PORTNAME= lp_solve
PORTVERSION= 5.5.2.0
@@ -19,7 +15,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:R:R}
USE_LDCONFIG= yes
.if defined(TMPDIR)
-BUILDENV= ${ENV} TMPDIR="${TMPDIR}"
+BUILDENV= ${SETENV} TMPDIR="${TMPDIR}"
.endif
.include <bsd.port.pre.mk>