ports/93143: [patch] misc/ldconfig_compat fix for 4.x make(1)
Eric Cronin
ecronin at gizmolabs.org
Fri Feb 10 18:20:04 UTC 2006
>Number: 93143
>Category: ports
>Synopsis: [patch] misc/ldconfig_compat fix for 4.x make(1)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 10 18:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Eric Cronin
>Release: 4.7
>Organization:
>Environment:
FreeBSD widget.gizmolabs.org 4.7-RELEASE-p27-jc3 FreeBSD 4.7-RELEASE-p27-jc3 #4: Mon Dec 13 20:30:47 PST 2004 user at jail11.johncompanies.com:/usr/obj/usr/src/sys/jail11 i386
>Description:
misc/ldconfig_compat contains make syntax which is not compatible with the ancient version of make in 4.x. Its a minor fix to correct this, and lets those of use in the stone age continue to use the current ports tree a little while longer
>How-To-Repeat:
cd /usr/ports/misc/ldconfig_compat && make install
>Fix:
--- Makefile Mon Jan 23 00:07:58 2006
+++ Makefile.4x Thu Feb 9 21:51:42 2006
@@ -34,9 +34,9 @@
.include <bsd.port.pre.mk>
.include "${.CURDIR}/bsd.ldconfig.mk"
-.if !(${OSVERSION} < 504105 || \
- (${OSVERSION} >= 700000 && ${OSVERSION} < 700012) || \
- (${OSVERSION} >= 600000 && ${OSVERSION} < 600104))
+.if !( ${OSVERSION} < 504105 || \
+ ( ${OSVERSION} >= 700000 && ${OSVERSION} < 700012 ) || \
+ ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600104 ) )
IGNORE= isn't needed (part of base rc.d)
.endif
--- bsd.ldconfig.mk Thu Jan 19 06:24:37 2006
+++ bsd.ldconfig.mk.4x Thu Feb 9 21:52:32 2006
@@ -3,8 +3,8 @@
.if defined(USE_LDCONFIG) || defined(USE_LDCONFIG32)
.if ${OSVERSION} < 504105 || \
- (${OSVERSION} >= 700000 && ${OSVERSION} < 700012) || \
- (${OSVERSION} >= 600000 && ${OSVERSION} < 600104)
+ ( ${OSVERSION} >= 700000 && ${OSVERSION} < 700012 ) || \
+ ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600104 )
RUN_DEPENDS+= ${LOCALBASE}/${LDCONFIG_DIR}:${PORTSDIR}/misc/ldconfig_compat
.endif
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list