Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 13:36:52 GMT
From:      Uffe Jakobsen <uffe@uffe.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177954: devel/bgware: patch: perl is only needed runtime
Message-ID:  <201304181336.r3IDaqhP084738@red.freebsd.org>
Resent-Message-ID: <201304181340.r3IDe1xR048646@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177954
>Category:       ports
>Synopsis:       devel/bgware: patch: perl is only needed runtime
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 18 13:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Uffe Jakobsen
>Release:        FreeBSD 9.1
>Organization:
>Environment:
FreeBSD asus-u32u 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Port devel/bgware currently has USE_PERL5=yes

Perl is only needed runtime and hence it sould be changed to USE_PERL5_RUN=yes

Patch is attached.

/Uffe

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 316039)
+++ Makefile	(working copy)
@@ -7,7 +7,7 @@
 
 PORTNAME=	bglibs
 PORTVERSION=	1.106
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://untroubled.org/${PORTNAME}/archive/ \
@@ -20,7 +20,7 @@
 
 NOT_FOR_ARCHS=	alpha
 
-USE_PERL5=	yes
+USE_PERL5_RUN=	yes
 USE_AUTOTOOLS=	libtool:env
 BGLIBS_INC=	${PREFIX}/include/${PORTNAME}
 BGLIBS_LIB=	${PREFIX}/lib/${PORTNAME}
Index: files/patch-Makefile
===================================================================
--- files/patch-Makefile	(revision 316039)
+++ files/patch-Makefile	(working copy)
@@ -9,3 +9,13 @@
  
  base64/asc2bin.lo: libcompile base64/asc2bin.c base64/base64.h str/str.h
  	./libcompile base64/asc2bin.c
+@@ -877,7 +877,7 @@
+ 
+  perl-head.pl: 
+	( set -e; PATH="/bin:/usr/bin:/usr/local/bin:$$PATH"; export PATH; \
+-	  perl=`which perl`; \
++	  perl=`which perl` || perl="/usr/local/bin/perl"; \
+	  echo "#! $$perl"; \
+	  echo "# WARNING: This file was auto-generated. Do not edit!"; \
+	  echo ) >perl-head.pl
+


>Release-Note:
>Audit-Trail:
>Unformatted:



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