diff options
-rw-r--r-- | misc/compat3x/Makefile | 11 | ||||
-rw-r--r-- | misc/compat3x/distinfo | 11 | ||||
-rw-r--r-- | misc/compat3x/pkg-plist | 6 |
3 files changed, 14 insertions, 14 deletions
diff --git a/misc/compat3x/Makefile b/misc/compat3x/Makefile index 97178d58b6b9..8827893646b8 100644 --- a/misc/compat3x/Makefile +++ b/misc/compat3x/Makefile @@ -42,15 +42,14 @@ COMPAT3X_DISTFILES= ${PORTNAME}.aa \ PLIST_SUB= CURRENT_ONLY:="" .else COMPAT3X_OSVERSION= 4.4 -COMPAT3X_OSRELDATE= 20011011 +COMPAT3X_OSRELDATE= 20011227 COMPAT3X_OSBRANCH= STABLE COMPAT3X_MASTER_SITES= ftp://stable.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ COMPAT3X_DISTFILES= ${PORTNAME}.aa \ ${PORTNAME}.ab \ ${PORTNAME}.ac \ ${PORTNAME}.ad \ - ${PORTNAME}.ae \ - ${PORTNAME}.af + ${PORTNAME}.ae PLIST_SUB= CURRENT_ONLY:="@comment " .endif @@ -65,7 +64,9 @@ COMPAT3X_MASTER_SITE_SUBDIR= releases/${ARCH}/${COMPAT3X_OSVERSION}-RELEASE/${PO do-extract: ${MKDIR} ${WRKDIR} cd ${_DISTDIR} && ${CAT} ${DISTFILES} | ${TAR} -xzf - -C ${WRKDIR} - ${MV} ${WRKSRC}/libc_r.so.4 ${WRKSRC}/libc_r.so.4.compat3x + if [ -e ${WRKSRC}/libc_r.so.4 ]; then \ + ${MV} ${WRKSRC}/libc_r.so.4 ${WRKSRC}/libc_r.so.4.compat3x; \ + fi do-build: @( ${ECHO} '#!/bin/sh'; ${ECHO} '${LDCONFIG} -m ${LDCONFIG_RUNLIST}'; \ @@ -74,7 +75,7 @@ do-build: do-install: ${MKDIR} ${TARGET_DIR} ${PREFIX}/etc/rc.d ${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/ - if [ ! -e ${TARGET_DIR}/libc_r.so.4.compat4x ]; then \ + if [ -e ${TARGET_DIR}/libc_r.so.4.compat3x -a ! -e ${TARGET_DIR}/libc_r.so.4.compat4x ]; then \ ${LN} -sf ${TARGET_DIR}/libc_r.so.4.compat3x ${TARGET_DIR}/libc_r.so.4; \ fi ${INSTALL_SCRIPT} ${WRKDIR}/000.${PORTNAME}.sh ${PREFIX}/etc/rc.d/ diff --git a/misc/compat3x/distinfo b/misc/compat3x/distinfo index bd8ad822f988..482cee1e989f 100644 --- a/misc/compat3x/distinfo +++ b/misc/compat3x/distinfo @@ -1,9 +1,8 @@ -MD5 (i386/4.4.20011011/compat3x.aa) = 705595a7422dd7c7833521f4c77962cc -MD5 (i386/4.4.20011011/compat3x.ab) = 9620332c25db1e6fa8cb1595d8714cc8 -MD5 (i386/4.4.20011011/compat3x.ac) = baf69ec22f13482d9a13d60d802bed72 -MD5 (i386/4.4.20011011/compat3x.ad) = ce80da085dc5e27e17382a6806298dfb -MD5 (i386/4.4.20011011/compat3x.ae) = a5a30026a842eaa5ed088366a4e01be1 -MD5 (i386/4.4.20011011/compat3x.af) = bb4671ae98f0d1b572559865582d5216 +MD5 (i386/4.4.20011227/compat3x.aa) = 2c4c505655ac2668fbdb0e79c083d1b5 +MD5 (i386/4.4.20011227/compat3x.ab) = 3472272e21585206d96240cf66002bd4 +MD5 (i386/4.4.20011227/compat3x.ac) = d2d61ebc06ee116c8d9f040872c64a6b +MD5 (i386/4.4.20011227/compat3x.ad) = 05d265756f5d1e332b8fe98bbac9dfa9 +MD5 (i386/4.4.20011227/compat3x.ae) = 73e8c77b27dba5f76ac6943921501c48 MD5 (i386/5.0.20011011/compat3x.aa) = f8f62dc8dfb8896348e2d2ddcca6d763 MD5 (i386/5.0.20011011/compat3x.ab) = f977f74f6a3767fa8948bdbe300bb5c4 MD5 (i386/5.0.20011011/compat3x.ac) = 4bf7bd59cbb82f47198439ad27de1b30 diff --git a/misc/compat3x/pkg-plist b/misc/compat3x/pkg-plist index 461e22dfccb7..f864d8a2077c 100644 --- a/misc/compat3x/pkg-plist +++ b/misc/compat3x/pkg-plist @@ -2,9 +2,9 @@ etc/rc.d/000.compat3x.sh lib/compat/libalias.so.3 lib/compat/libc.so.3 lib/compat/libc_r.so.3 -@unexec if [ -e %B/libc_r.so.4.compat4x ]; then ln -sf %B/libc_r.so.4.compat4x %B/libc_r.so.4; else rm %B/libc_r.so.4; fi -lib/compat/libc_r.so.4.compat3x -@exec if [ ! -e %B/libc_r.so.4.compat4x ]; then ln -sf %B/%f %B/libc_r.so.4; fi +%%CURRENT_ONLY:%%@unexec if [ -e %B/libc_r.so.4.compat4x ]; then ln -sf %B/libc_r.so.4.compat4x %B/libc_r.so.4; else rm %B/libc_r.so.4; fi +%%CURRENT_ONLY:%%lib/compat/libc_r.so.4.compat3x +%%CURRENT_ONLY:%%@exec if [ ! -e %B/libc_r.so.4.compat4x ]; then ln -sf %B/%f %B/libc_r.so.4; fi lib/compat/libcurses.so.2 lib/compat/libdialog.so.3 lib/compat/libedit.so.2 |