ports/92669: [patch] math/vecfem: fix .include statement
Vasil Dimov
vd at FreeBSD.org
Wed Feb 1 06:40:03 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list