summaryrefslogtreecommitdiff
path: root/emulators/suse_base
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-23 18:25:31 +0000
committerwiz <wiz@pkgsrc.org>2004-07-23 18:25:31 +0000
commitb98723f5b9e8bd88006a1f6be247229c4560eab4 (patch)
tree222ccadc97d0806876708718fc36c9fcd0cbcc13 /emulators/suse_base
parent5fea00931aefb2b29018ff0c9d27a5e5ceadafdb (diff)
downloadpkgsrc-b98723f5b9e8bd88006a1f6be247229c4560eab4.tar.gz
Use fixelfprot to make ldconfig work on 2.0/macppc.
Bump PKGREVISION.
Diffstat (limited to 'emulators/suse_base')
-rw-r--r--emulators/suse_base/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile
index ce6ebcc11d0..b31513d406a 100644
--- a/emulators/suse_base/Makefile
+++ b/emulators/suse_base/Makefile
@@ -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= aaa_dir.rpm gppshare.rpm ncurses.rpm \
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 @@ do-install:
.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}