ports/75645: Fix errors in emulators/linux_base-8 for amd64

Conrad J. Sabatier conrads at cox.net
Thu Dec 30 01:30:21 UTC 2004


>Number:         75645
>Category:       ports
>Synopsis:       Fix errors in emulators/linux_base-8 for amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 30 01:30:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Conrad J. Sabatier
>Release:        FreeBSD 6.0-CURRENT amd64
>Organization:
N/A
>Environment:
System: FreeBSD dolphin.local.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Wed Dec 29 07:04:29 CST 2004 conrads at dolphin.local.net:/usr/obj/usr/src/sys/CUSTOM amd64


>Description:
	Build fails due to script-generated errors.  This same problem 
	existed with the earlier linux_base 7 port.
>How-To-Repeat:
	Try to install on amd64 without the following patch.  Scripts 
	included in rpms produce errors, cancelling the install. 
>Fix:
	Apply the following patch.

--- linux_base-8.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/emulators/linux_base-8/Makefile,v
retrieving revision 1.93
diff -u -d -H -r1.93 Makefile
--- Makefile	27 Dec 2004 21:47:56 -0000	1.93
+++ Makefile	30 Dec 2004 01:14:36 -0000
@@ -79,6 +79,10 @@
 RPM=			LC_ALL=C rpm
 RPMFLAGS=		--root ${WRKSRC} --dbpath ${DBPATH} --nodeps \
 			--replacepkgs --ignoreos --ignorearch
+.if ${ARCH} == "amd64"
+RPMFLAGS+=--noscripts
+.endif
+
 RPMDIR=			${DISTDIR}/${DIST_SUBDIR}
 
 REMOVE_DIRS=		boot dev home initrd root tmp var/tmp usr/local usr/tmp
--- linux_base-8.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list