ports/50756: ftp/ncftp3 : options in Makefile.local are ignored

Ralf van Dooren ralf at iae.nl
Wed Apr 9 14:40:12 UTC 2003


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list