Skip site navigation (1)Skip section navigation (2)
Date:      9 Apr 2003 14:31:38 -0000
From:      Ralf van Dooren <ralf@iae.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50756: ftp/ncftp3 : options in Makefile.local are ignored
Message-ID:  <20030409143138.36146.qmail@schaos.xs4all.nl>
Resent-Message-ID: <200304091440.h39EeA6Y061571@freefall.freebsd.org>

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

>Number:         50756
>Category:       ports
>Synopsis:       ftp/ncftp3 : options in Makefile.local are ignored
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 09 07:40:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ralf van Dooren
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD oerania.mijou.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Thu Dec 26 16:31:23 CET 2002 root@oerania.mijou.net:/usr/obj/usr/src/sys/OERANIA i386


>Description:
        Options you put in  Makefile.local are ignored, for installation.
        This will cause local settings for ncftp3 to be ignored.

	oerania# cd /usr/ports/ftp/ncftp3
	oerania# echo "INSTALL_AS_NCFTP=yes" > Makefile.local
	oerania# make -V INSTALL_AS_NCFTP
	yes
	oerania# make -V LATEST_LINK
	ncftp3
        oerania#

>How-To-Repeat:

	Enter the above commands.

>Fix:

        By separating bsd.ports.mk into bsd.ports.pre.mk and bsd.ports.post.mk
        the problem will be fixed.

	The following patch can be used to correct this:

--- Makefile.orig       Wed Apr  9 16:07:27 2003
+++ Makefile    Wed Apr  9 16:30:56 2003
@@ -20,6 +20,8 @@
 MAINTAINER=    obrien@FreeBSD.org
 COMMENT=       ftp replacement with advanced user interface

+.include <bsd.port.pre.mk>
+
 .if defined(INSTALL_AS_NCFTP)
 LATEST_LINK=   ncftp
 .else
@@ -69,4 +71,4 @@
                ${PREFIX}/man/man1
        @${INSTALL_MAN} ${WRKSRC}/Strn/Strn.3 ${PREFIX}/man/man3

-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

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



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