pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/suse_base Use fixelfprot to make ldconfig wo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6865ead55e1
branches:  trunk
changeset: 478432:b6865ead55e1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jul 23 18:25:31 2004 +0000

description:
Use fixelfprot to make ldconfig work on 2.0/macppc.
Bump PKGREVISION.

diffstat:

 emulators/suse_base/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 59b17f4a83dc -r b6865ead55e1 emulators/suse_base/Makefile
--- a/emulators/suse_base/Makefile      Fri Jul 23 18:07:18 2004 +0000
+++ b/emulators/suse_base/Makefile      Fri Jul 23 18:25:31 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2004/05/07 15:25:13 cjep Exp $
+# $NetBSD: Makefile,v 1.50 2004/07/23 18:25:31 wiz Exp $
 
 DISTNAME=              suse_base-${SUSE_VERSION}
-PKGREVISION=           5
+PKGREVISION=           6
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SUSE:=a1/} \
                        ${MASTER_SITE_SUSE_UPD:=a1/}
@@ -31,6 +31,8 @@
 RPMFILES+=     glibc-2.2.4-78.${SUSE_ARCH}.rpm libz-1.1.3-597.${SUSE_ARCH}.rpm
 .elif ${SUSE_ARCH} == "ppc"
 RPMFILES+=     glibc-2.2.4-69.${SUSE_ARCH}.rpm libz-1.1.3-432.${SUSE_ARCH}.rpm
+
+BUILD_DEPENDS+=        fixelfprot>=20040714:../../sysutils/fixelfprot
 .else
 RPMFILES+=     glibc.rpm libz.rpm
 .endif
@@ -67,6 +69,9 @@
 .if ${OPSYS} == "FreeBSD"
        ${BRANDELF} -t Linux ${EMULDIR}/sbin/ldconfig
 .endif
+.if ${OPSYS} == "NetBSD" && ${SUSE_ARCH} == "ppc"
+       ${LOCALBASE}/sbin/fixelfprot ${EMULDIR}/sbin/ldconfig
+.endif
        ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
        ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
          >>${PLIST_SRC}



Home | Main Index | Thread Index | Old Index