Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2018 08:44:29 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487412 - head/archivers/upx
Message-ID:  <201812140844.wBE8iT29009040@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Dec 14 08:44:29 2018
New Revision: 487412
URL: https://svnweb.freebsd.org/changeset/ports/487412

Log:
  archivers/upx: Fix build due to missing perl (pod2*) tools
  
  upx unconditionally runs its docs target, which relies on multiple [1] pod2*
  tools provided by perl.
  
  USES=perl and USE_PERL=build were removed in ports r478489, resulting in those
  tools not being available at build time, and the following errors:
  
    /bin/sh: pod2man: not found
    /bin/sh: pod2html: not found
    /bin/sh: pod2text: not found
  
  This change, accordingly, re-adds perl as an unconditional build dependency,
  including a comment about what its for.
  
  While I'm here:
  
    * Update COMMENT for (portlint) compliance [2]
  
  [1] pod2man, pod2html, pod2text
  [2] Wikipedia, MajorGeeks and others also describe UPX without a "The" prefix
  
  PR:		234002
  Reported by:	<mail ozzmosis com>
  Approved by:	portmgr (blanket: build fix, JFI)
  MFH:		2018Q4
  Differential Revision: D18549

Modified:
  head/archivers/upx/Makefile

Modified: head/archivers/upx/Makefile
==============================================================================
--- head/archivers/upx/Makefile	Fri Dec 14 08:13:20 2018	(r487411)
+++ head/archivers/upx/Makefile	Fri Dec 14 08:44:29 2018	(r487412)
@@ -7,15 +7,17 @@ DISTVERSION=	3.95
 CATEGORIES=	archivers
 
 MAINTAINER=	fjoe@FreeBSD.org
-COMMENT=	The Ultimate Packer for eXecutables
+COMMENT=	Ultimate Packer for eXecutables
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libucl.so:archivers/ucl
 
-USES=		gmake
+USES=		gmake perl5
 USE_GITHUB=	yes
+USE_PERL5=	build # provides pod2man/pod2html/pod2text required for docs
+
 GH_TUPLE=	upx:upx-lzma-sdk:${DISTVERSIONPREFIX}${DISTVERSION}:lzma/src/lzma-sdk
 
 MAKE_ENV=	UPX_UCLDIR=${LOCALBASE} \



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