Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2014 10:25:41 +0000 (UTC)
From:      Paul J Murphy <paul@inetstat.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        uqs@FreeBSD.org
Subject:   ports/189654: [PATCH] textproc/groff: shebangfix & portlint
Message-ID:  <20140511102541.61AD6D78D1@srv00.inetstat.net>
Resent-Message-ID: <201405111030.s4BAU0Zc015952@freefall.freebsd.org>

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

>Number:         189654
>Category:       ports
>Synopsis:       [PATCH] textproc/groff: shebangfix & portlint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 11 10:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Paul J Murphy
>Release:        FreeBSD 10.0-RELEASE-p2 amd64
>Organization:
iNetStat.net
>Environment:
System: FreeBSD srv00.inetstat.net 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #0 r265140: Wed Apr 30 12:18:59 UTC
>Description:
- shebangfix
- portlint: FATAL: Makefile: [19]: use a tab (not space) after a variable name

Summary: Fix problems preventing it building with DEVELOPER=yes and port test

Port maintainer (uqs@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- groff-1.22.2.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 353668)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	groff
 PORTVERSION=	1.22.2
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	groff
@@ -15,11 +16,15 @@
 BUILD_DEPENDS=	${LOCALBASE}/bin/psselect:${PORTSDIR}/print/psutils
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-USE_GHOSTSCRIPT= yes
-USES=		gmake perl5
+USE_GHOSTSCRIPT=yes
+USES=		gmake perl5 shebangfix
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--with-awk=/usr/bin/awk
+CONFIGURE_ENV+=	PERLPATH=${perl_CMD} # shebangfix
 
+SHEBANG_FILES=	src/utils/afmtodit/afmtodit.pl \
+		contrib/mm/mmroff.pl \
+
 # Canonicalize to A4 if set.
 .if defined(A4) || (defined(PAPERSIZE) && ${PAPERSIZE:tu} == "A4")
 PAPERSIZE=A4
--- groff-1.22.2.patch ends here ---

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



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