ports/103311: [PATCH]: automatically provide correct paths for man/info

Stanislav Sedov ssedov at mbsd.msk.ru
Sat Sep 16 09:00:42 UTC 2006


>Number:         103311
>Category:       ports
>Synopsis:       [PATCH]: automatically provide correct paths for man/info
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 16 09:00:35 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Aug 31 10:34:52 MSD 2006 root at fonon.realnet:/work/src/fbsd-cur/src/sys/i386/compile/FONON i386


	
>Description:
	GNU autoconf recently changed location of manpages and info files
to share/man and share/info accordingly. This differs from FreeBSD's locations,
and thus will brake existing ports upgrade. There were already a lot of
complaints on IRC/mailing lists.

	This problem can be solved by adding --mandir and --infodir to
CONFIGURE_ARGS. This will solve this problem while not breaking existsing
ports, since all versions on autoconf supports this options.

>How-To-Repeat:
	
>Fix:

	

--- mk.diff begins here ---
Index: Mk/bsd.port.mk
===================================================================
RCS file: /work/src/fbsd-cvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.540
diff -u -r1.540 bsd.port.mk
--- Mk/bsd.port.mk	14 Aug 2006 13:24:18 -0000	1.540
+++ Mk/bsd.port.mk	16 Sep 2006 08:39:48 -0000
@@ -2844,7 +2844,8 @@
 .if !defined(CONFIGURE_MAX_CMD_LEN)
 CONFIGURE_MAX_CMD_LEN!=	${SYSCTL} -n kern.argmax
 .endif
-CONFIGURE_ARGS+=	--prefix=${PREFIX} ${CONFIGURE_TARGET}
+CONFIGURE_ARGS+=	--prefix=${PREFIX} --mandir=${PREFIX}/man \
+					--infodir=${PREFIX}/info ${CONFIGURE_TARGET}
 CONFIGURE_ENV+=		lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
 HAS_CONFIGURE=		yes
 .endif
--- mk.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list