aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-03-14 08:52:09 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-03-14 08:52:09 +0800
commit3afbb972a94c02997982f74b6984568c228d4544 (patch)
tree071bf81afcf059bbf919c2b649d0db566aeb74c2 /science
parente39b4d4d93e7d0f27fa14d426c95da7fe908dad1 (diff)
downloadfreebsd-ports-gnome-3afbb972a94c02997982f74b6984568c228d4544.tar.gz
freebsd-ports-gnome-3afbb972a94c02997982f74b6984568c228d4544.tar.zst
freebsd-ports-gnome-3afbb972a94c02997982f74b6984568c228d4544.zip
- Fix warning when building in a jail
perl: not found "Makefile", line 28: warning: "perl -V:archname" returned non-zero status PR: ports/174576 Approved by: maintainer timeout (>2 months via email)
Diffstat (limited to 'science')
-rw-r--r--science/mcstas/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/science/mcstas/Makefile b/science/mcstas/Makefile
index e7176da4d452..a9121f3c982f 100644
--- a/science/mcstas/Makefile
+++ b/science/mcstas/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: mcstas
-# Date created: Apr 26, 2004
-# Whom: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
-#
+# Created by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
# $FreeBSD$
PORTNAME= mcstas
@@ -28,7 +25,7 @@ USE_GMAKE= yes
NO_MTREE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-PERL_ARCHNAME!= perl -V:archname
+PERL_ARCHNAME!= perl -V:archname 2>/dev/null || :
PLIST_SUB+= PERL_PORT=perl5 PERL_ARCHNAME=${PERL_ARCHNAME:S/archname='//:S/';//}