ports/54237: [patch][non-maintainer] fix build for japanese/slrn on non-i386 machines

Mark Linimon linimon at lonesome.com
Wed Jul 9 01:50:15 UTC 2003


>Number:         54237
>Category:       ports
>Synopsis:       [patch][non-maintainer] fix build for japanese/slrn on non-i386 machines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 08 18:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD-4.7
>Organization:
FreeBSD
>Environment:
System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root at lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	The Makefile for japanese/slrn has the string "i386" hardcoded
	in two places.  This seems to cause the port to fail to build
	on all other than i386.
>How-To-Repeat:
	make install (non-i386); see bento logs
>Fix:
	I have not tested this patch on anything other than i386;
	however, it does build properly on that architecture, and
	since it currently does not build at all on anything else,
	the risk is quite low.

--- slrn/Makefile.dist	Fri Feb 21 07:16:08 2003
+++ slrn/Makefile	Tue Jul  8 20:35:06 2003
@@ -30,8 +30,8 @@
 MAN1=		slrn.1
 
 pre-install:
-	strip ${WRKSRC}/src/i386objs/slrn
-	strip ${WRKSRC}/src/i386objs/slrnpull
+	strip ${WRKSRC}/src/${MACHINE_ARCH}objs/slrn
+	strip ${WRKSRC}/src/${MACHINE_ARCH}objs/slrnpull
 
 post-install:
 	${INSTALL_MAN} ${JDOCSRC}/slrn.1 ${PREFIX}/man/ja/man1
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list