ports/185166: math/saga: [PATCH] bsd.port.pre.mk used with bsd.port.options.mk (only one needed)

John Marino freebsd at marino.st
Tue Dec 24 21:00:00 UTC 2013


>Number:         185166
>Category:       ports
>Synopsis:       math/saga: [PATCH] bsd.port.pre.mk used with bsd.port.options.mk (only one needed)
>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:   Tue Dec 24 21:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
It is not correct to include both <bsd.port.pre.mk> and <bsd.port.options.mk>.  I understand that the latter is preferred.  The attached patch shows how the extra include should be removed.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2013-12-24 20:33:58.114073000 +0000
+++ Makefile
@@ -88,8 +88,6 @@ PLIST_SUB+=	VIGRA=""
 PLIST_SUB+=	VIGRA="@comment "
 .endif
 
-.include <bsd.port.pre.mk>
-
 post-extract:
 	@${REINPLACE_CMD} -e's|wx-config |${WX_CONFIG} |g' \
 		${WRKSRC}/configure.in \
@@ -127,4 +125,4 @@ post-install:
 	@${RM} ${PREFIX}/lib/saga/*.a
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


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


More information about the freebsd-ports-bugs mailing list