aboutsummaryrefslogtreecommitdiffstats
path: root/science/ncs
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2007-06-29 02:54:51 +0800
committerthierry <thierry@FreeBSD.org>2007-06-29 02:54:51 +0800
commitdb5c68f53c97c1c0b42057d19689a82c0c66160e (patch)
treed17b0915b06664d61424abcef0223897b50cf917 /science/ncs
parentbe9ddbe718262f6d82cb9c38d19e4938560d4a9e (diff)
downloadfreebsd-ports-gnome-db5c68f53c97c1c0b42057d19689a82c0c66160e.tar.gz
freebsd-ports-gnome-db5c68f53c97c1c0b42057d19689a82c0c66160e.tar.zst
freebsd-ports-gnome-db5c68f53c97c1c0b42057d19689a82c0c66160e.zip
Don't set TERM conditionally on pointyhat, to avoid it defaulting to
`su' which breaks the build. Reported by: pointyhat via pav
Diffstat (limited to 'science/ncs')
-rw-r--r--science/ncs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/science/ncs/Makefile b/science/ncs/Makefile
index 1e3ac68c9aeb..77c6cc9a9063 100644
--- a/science/ncs/Makefile
+++ b/science/ncs/Makefile
@@ -35,7 +35,11 @@ FORTRANLIBDIR= `${DIRNAME} \\`gfortran42 -print-libgcc-file-name\\``
FORTRANLIBDIR2= `${DIRNAME} \\`gfortran42 -print-libgcc-file-name\\``/../../../
MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
+.if defined(PACKAGE_BUILDING)
+TERM= vt100 # Force for pointyhat to override su
+.else
TERM?= vt100 # Default value needed for tput in jail or tinderbox
+.endif
PATHCS= ${PREFIX}/Saturne
CS_HOME= ${PATHCS}/Noyau/ncs