Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2006 08:38:28 +0200
From:      Vasil Dimov <vd@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ralf@akk.org
Subject:   ports/92669: [patch] math/vecfem: fix .include statement
Message-ID:  <20060201063828.GA61617@qlovarnika.bg.datamax>
Resent-Message-ID: <200602010640.k116e2v2054086@freefall.freebsd.org>

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

>Number:         92669
>Category:       ports
>Synopsis:       [patch] math/vecfem: fix .include statement
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 01 06:40:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
DataMax
>Environment:

>Description:

.include <Makefile.inc> causes errors when make is not invoked from
port's directory on RELENG_4

make(1):

.include <file>
.include "file"
        Include the specified makefile.  Variables between the angle
        brackets or double quotes are expanded to form the file name.  If
        angle brackets are used, the included makefile is expected to be
        in the system makefile directory.  If double quotes are used, the
        including makefile's directory and any directories specified
        using the -I option are searched before the system makefile
        directory.

>How-To-Repeat:

>Fix:

--- vecfem_include.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/local/cvsupdroot/ports/math/vecfem/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	4 Feb 2004 05:07:34 -0000	1.5
+++ Makefile	1 Feb 2006 06:32:17 -0000
@@ -34,5 +34,5 @@
 	@${ECHO_MSG} "Building ${PORTNAME}-${PORTVERSION} with MPI support"
 .endif
 
-.include <Makefile.inc>
+.include "${.CURDIR}/Makefile.inc"
 .include <bsd.port.mk>
--- vecfem_include.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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