summaryrefslogtreecommitdiff
path: root/misc/ldconfig_compat
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2006-04-18 15:49:49 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2006-04-18 15:49:49 +0000
commit95989a311927c1b084b393d2838a0729d73cf6bd (patch)
tree61b6168794b2f0aa236e2abe3ebe51c154f430ed /misc/ldconfig_compat
parent- Update to 1.2.3 (diff)
Fix plist issue on RELENG_4, libdata/ldconfig directories were only
in BSD.x11-4.dist. I just fixed that in BSD.local.dist.
Notes
Notes: svn path=/head/; revision=159884
Diffstat (limited to 'misc/ldconfig_compat')
-rw-r--r--misc/ldconfig_compat/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/ldconfig_compat/Makefile b/misc/ldconfig_compat/Makefile
index 51ae1b719ac8..888b5987a359 100644
--- a/misc/ldconfig_compat/Makefile
+++ b/misc/ldconfig_compat/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ldconfig_compat
PORTVERSION= 1.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none
@@ -55,6 +55,9 @@ do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/ldconfig_compat.sh ${PREFIX}/etc/rc.d/000.ldconfig_compat.sh
@${ECHO_CMD} "etc/rc.d/000.ldconfig_compat.sh" >> ${TMPPLIST}
.endif
+# Special case, recent RELENG_4 versions have no /etc/rc.d/ldconfig script, but directories
+# are present in BSD.{x11,local}.dist.
+.if !( ${OSVERSION} >= 492101 && ${OSVERSION} < 500000 )
.for prefix in ${LOCAL_PREFIXES}
@${ECHO_CMD} "@cwd ${prefix}" >> ${TMPPLIST}
.for dir in ${LOCAL_DIRS}
@@ -63,5 +66,6 @@ do-install:
@${ECHO_CMD} "@unexec rmdir %D/${dir} 2>/dev/null || true" >> ${TMPPLIST}
.endfor
.endfor
+.endif
.include <bsd.port.post.mk>