misc/142156: [patch] ports-mgmt/porte simplify Makefile logic & dont use != variable assignment

Sevan Janiyan venture37 at gmail.com
Wed Dec 30 04:30:05 UTC 2009


>Number:         142156
>Category:       misc
>Synopsis:       [patch] ports-mgmt/porte simplify Makefile logic & dont use != variable assignment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 30 04:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/porte/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	6 Dec 2009 20:56:53 -0000	1.7
+++ Makefile	30 Dec 2009 04:12:02 -0000
@@ -6,7 +6,7 @@
 
 PORTNAME=	porte
 PORTVERSION=	0.0.3
-PORTREVISION=	3
+PORTREVISION=	4	
 CATEGORIES=	ports-mgmt haskell
 MASTER_SITES=	http://carte.repnop.org/releases/
 
@@ -37,11 +37,7 @@
 PLIST_SUB+=		NOPORTDOCS=""
 .else
 PLIST_SUB+=		NOPORTDOCS="@comment "
-.endif
-
-.if !defined(NOPORTDOCS)
-
-PORT_HADDOCK!=	(cd  ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
+PORT_HADDOCK=	${MAKE} -V PORT_HADDOCK -C ../../lang/ghc
 .if !empty(PORT_HADDOCK:M?0)
 BUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock
 .endif


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


More information about the freebsd-bugs mailing list