aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-04-14 02:03:34 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-04-14 02:03:34 +0800
commitc15847e21b36cf2a0b3fba04dd36a7212e5a42b1 (patch)
tree6160b9abda4b7061cbc2a8051e1924e02aa59101
parentdcb9424d790e9c722c109670418d8336044dd695 (diff)
downloadfreebsd-ports-gnome-c15847e21b36cf2a0b3fba04dd36a7212e5a42b1.tar.gz
freebsd-ports-gnome-c15847e21b36cf2a0b3fba04dd36a7212e5a42b1.tar.zst
freebsd-ports-gnome-c15847e21b36cf2a0b3fba04dd36a7212e5a42b1.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)
-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>