Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2007 11:00:25 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   make: cannot open Makefile?
Message-ID:  <7CBDEA447D8ACF8EF8AA7C37@utd59514.utdallas.edu>

next in thread | raw e-mail | index | archive | help
--==========88F4DF826AD1C02707A4==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm working on a new port.  I cvsup every night, so my ports tree is up to=20
date.  I'm getting this error, which seems to indicate that the ports=20
system is trying to find a Makefile that doesn't exists in WRKSRC.

make install PREFIX=3D/var/tmp/$(make -V PORTNAME)
=3D=3D=3D>  Extracting for afterglow-1.5
=3D> MD5 Checksum OK for afterglow-1.5.tar.gz.
=3D> SHA256 Checksum OK for afterglow-1.5.tar.gz.
=3D=3D=3D>   afterglow-1.5 depends on file: /usr/local/sbin/pkg_info - =
found
=3D=3D=3D>  Patching for afterglow-1.5
=3D=3D=3D>  Configuring for afterglow-1.5
=3D=3D=3D>  Installing for afterglow-1.5
=3D=3D=3D>   afterglow-1.5 depends on executable in : dot - found
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D>  Checking if security/afterglow already installed
make: cannot open Makefile.
*** Error code 2

Stop in /usr/ports/security/afterglow.

Here's the entire Makefile for the port:

less Makefile
# New ports collection makefile for:    afterglow
# Date created:                         1 Aug 2007
# Whom:                                 pauls
#
# $FreeBSD$
#

PORTNAME=3D       afterglow
PORTVERSION=3D    1.5
CATEGORIES=3D     security graphics
MASTER_SITES=3D   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=3D     afterglow

MAINTAINER=3D     pauls@utdallas.edu
COMMENT=3D        A collection of graph-generating scripts

RUN_DEPENDS=3D    dot:${PORTSDIR}/graphics/graphviz

NO_BUILD=3D       yes

WRKSRC=3D         ${WRKDIR}/${PORTNAME}

post-install:
        ${MKDIR} ${DATADIR}
        ${MKDIR} ${DATADIR}/data
        ${MKDIR} ${DATADIR}/database
        ${MKDIR} ${DATADIR}/graph
        ${MKDIR} ${DATADIR}/parsers
        (cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${DATADIR}/data)
        (cd ${WRKSRC}/src/perl/database/ && ${COPYTREE_SHARE} \*=20
${DATADIR}/database "! -name *.pl")
        (cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_SHARE} \*=20
${DATADIR}/graph "! -name *,pl")
        (cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_SHARE} \*=20
${DATADIR}/parsers "! -name *.pl")
        (cd ${WRKSRC}/src/perl/database/ && ${INSTALL_SCRIPT} \*.pl=20
${DATADIR}/database)
        (cd ${WRKSRC}/src/perl/graph/ && ${INSTALL_SCRIPT} \*.pl=20
${DATADIR}/graph)
        (cd ${WRKSRC}/src/perl/parsers/ && ${INSTALL_SCRIPT} \*.pl=20
${DATADIR}/parsers)

.include <bsd.port.mk>

As you can see, I've included NO_BUILD=3D yes.  So what's causing this =
error?

--=20
Paul Schmehl (pauls@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

--==========88F4DF826AD1C02707A4==========--




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