Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 18:11:19 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355423 - head/devel/p5-SVN-Access
Message-ID:  <201405261811.s4QIBJdM088890@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon May 26 18:11:19 2014
New Revision: 355423
URL: http://svnweb.freebsd.org/changeset/ports/355423
QAT: https://qat.redports.org/buildarchive/r355423/

Log:
  devel/p5-SVN-Access: Don't strip scripts
  
  The strip program from new binutils will complain if one tries to strip
  executables non-binaries.  The INSTALL_PROGRAM macro tries to strip; for
  a perl script the INSTALL_SCRIPT macro is the correct one to use.
  
  Swapping the macros fixes this error:
    /usr/libexec/binutils224/elf/strip:
      /wrkdirs/devel/p5-SVN-Access/work/stage/usr/local/share/examples/
      SVN-Access/svnaclmgr.pl: File format not recognized
  
  Approved by:	just-fix-it blanket

Modified:
  head/devel/p5-SVN-Access/Makefile

Modified: head/devel/p5-SVN-Access/Makefile
==============================================================================
--- head/devel/p5-SVN-Access/Makefile	Mon May 26 17:42:21 2014	(r355422)
+++ head/devel/p5-SVN-Access/Makefile	Mon May 26 18:11:19 2014	(r355423)
@@ -26,7 +26,7 @@ PORTEXAMPLES=	svnaclmgr.pl
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${INSTALL_PROGRAM} ${PORTEXAMPLES} \
+	cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${PORTEXAMPLES} \
 		${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405261811.s4QIBJdM088890>