svn commit: r314124 - head/science/mcstas

Bryan Drewery bdrewery at FreeBSD.org
Thu Mar 14 00:52:10 UTC 2013


Author: bdrewery
Date: Thu Mar 14 00:52:09 2013
New Revision: 314124
URL: http://svnweb.freebsd.org/changeset/ports/314124

Log:
  - 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)

Modified:
  head/science/mcstas/Makefile

Modified: head/science/mcstas/Makefile
==============================================================================
--- head/science/mcstas/Makefile	Thu Mar 14 00:38:19 2013	(r314123)
+++ head/science/mcstas/Makefile	Thu Mar 14 00:52:09 2013	(r314124)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	mcstas
-# Date created:			Apr 26, 2004
-# Whom:				Joerg Pulz <Joerg.Pulz at frm2.tum.de>
-#
+# Created by: Joerg Pulz <Joerg.Pulz at 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/';//}
 


More information about the svn-ports-all mailing list