ports/95467: Allow use USE_LDCONFIG mechanism in RELENG_6_1

Alex Kozlov pam at rm-rf.kiev.ua
Fri Apr 7 11:40:17 UTC 2006


>Number:         95467
>Category:       ports
>Synopsis:       Allow use USE_LDCONFIG mechanism in RELENG_6_1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 07 11:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kozlov
>Release:        FreeBSD 6.1-PRERELEASE
>Organization:
private
>Environment:
FreeBSD localhost 6.1-PRERELEASE i386
>Description:
Allow use USE_LDCONFIG mechanism in RELENG_6_1
>How-To-Repeat:
Apply the patch.
>Fix:
diff -u Makefile.orig Makefile

--- Makefile.orig    Fri Apr  7 14:18:14 2006
+++ Makefile    Fri Apr  7 14:19:15 2006
@@ -11,7 +11,7 @@

 PORTNAME=  compat5x
 PORTVERSION=   5.4.0.8
-PORTREVISION=  5
+PORTREVISION=  6
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=lesi/compat5x
@@ -35,7 +35,8 @@
 IGNORE=    is for FreeBSD 6.x and newer
 .endif

-.if ${OSVERSION} > 700011
+.if ${OSVERSION} > 700011 || \
+   ( ${OSVERSION} > 600104 && ${OSVERSION} < 700000 )
 USE_LDCONFIG=  ${TARGET_DIR}
 PLIST_SUB+=    USE_LDCONFIG=""
 .else

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



More information about the freebsd-ports-bugs mailing list