ports/189654: [PATCH] textproc/groff: shebangfix & portlint

Paul J Murphy paul at inetstat.net
Sun May 11 10:30:00 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list