Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2002 15:05:28 -0400 (EDT)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        portmgr@FreeBSD.org
Subject:   ports/40231: Mk/bsd.port.mk: force USE_SUBMAKE if MLINKS is set; otherwise the links do not go in package or registered file list
Message-ID:  <200207051905.g65J5SQV028681@wwweasel.geeksrus.net>

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

>Number:         40231
>Category:       ports
>Synopsis:       Mk/bsd.port.mk: force USE_SUBMAKE if MLINKS is set; otherwise the links do not go in package or registered file list
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 05 12:10:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Jun 28 12:06:20 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386


>Description:

MLINKS (manual page links) are ignored if USE_SUBMAKE is not set.

>How-To-Repeat:

Try it with any port using MLINKS. Vim is one example.

>Fix:

==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
Index: Mk/bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.418
diff -u -3 -r1.418 bsd.port.mk
--- Mk/bsd.port.mk	5 Jul 2002 09:14:53 -0000	1.418
+++ Mk/bsd.port.mk	5 Jul 2002 18:46:33 -0000
@@ -1704,6 +1704,7 @@
 .endif
 
 .if (defined(MLINKS) || defined(_MLINKS_PREPEND)) && !defined(_MLINKS)
+USE_SUBMAKE=yes
 __pmlinks!=	${ECHO_CMD} '${MLINKS:S/	/ /}' | ${AWK} \
  '{ if (NF % 2 != 0) { print "broken"; exit; } \
 	for (i=1; i<=NF; i++) { \
==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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