Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 20:00:23 GMT
From:      Ulrich Spoerlein <q@galgenberg.net>
To:        freebsd-emulation@FreeBSD.org
Subject:   Re: ports/90220: emulators/linux_base-8 Makefile typo cause install error
Message-ID:  <200512132000.jBDK0NX1001017@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/90220; it has been noted by GNATS.

From: Ulrich Spoerlein <q@galgenberg.net>
To: Alexander Leidinger <Alexander@Leidinger.net>
Cc: freebsd-emulation@freebsd.org, FreeBSD-gnats-submit@freebsd.org,
	SANETO Takanori <sanewo@ba2.so-net.ne.jp>
Subject: Re: ports/90220: emulators/linux_base-8 Makefile typo cause install error
Date: Tue, 13 Dec 2005 20:57:00 +0100

 >  I try to get time this week to fix the issue for rpm-4.
 
 Since I made the mess, attached is a patch that fixes it for both rpm3
 and rpm4. Just did a install/deinstall with both rpms, I hope this
 really fixes it.
 
 Ulrich Spoerlein
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/emulators/linux_base-8/Makefile,v
 retrieving revision 1.112
 diff -u -p -r1.112 Makefile
 --- Makefile	4 Dec 2005 13:12:08 -0000	1.112
 +++ Makefile	13 Dec 2005 19:55:08 -0000
 @@ -125,8 +125,8 @@ FALLBACK_ELF_MIB=	kern.fallback_elf_bran
  LINUX_ELF=		3
  PREVIOUS_ELF!=		/sbin/sysctl -n ${FALLBACK_ELF_MIB}
  
 -# FIXME. This will result in a file at /compat/linux/etcnsswitch.conf.dist (sic!)
 -RPMFLAGS+=	--relocate /etc/nsswitch.conf=/etc/nsswitch.conf.dist --badreloc
 +# FIXME: The double-// can go away, once we deprecate rpm-3
 +RPMFLAGS+=	--relocate /etc/nsswitch.conf=/etc//nsswitch.conf.dist --badreloc
  
  do-install:
  #
 @@ -145,7 +145,6 @@ do-install:
  		${ECHO} $$R; \
  		${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \
  	done
 -	@${MV} ${PREFIX}/etcnsswitch.conf.dist ${PREFIX}/etc/nsswitch.conf.dist
  	@test -f ${PREFIX}/etc/nsswitch.conf || cp ${PREFIX}/etc/nsswitch.conf.dist \
  		${PREFIX}/etc/nsswitch.conf
  	@${FIND} ${PREFIX}/bin ${PREFIX}/sbin/ ${PREFIX}/usr/bin \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512132000.jBDK0NX1001017>