Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 1999 05:21:42 +0300
From:      Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        ports@freebsd.org
Subject:   fix fo lang/sr [Re: package building errors]
Message-ID:  <3738E5B6.506BE3B4@Shevchenko.Kiev.UA>
References:  <199905120056.RAA02913@vader.cs.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------C95750133F43E342306171D3
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit

my port lang/sr was marked as broken-elf  

1. attached is patch-ab which fix the problem.

2. I updated my mail address in Makefile (attached Makefile.diff)
--------------C95750133F43E342306171D3
Content-Type: text/plain; charset=koi8-r; name="patch-ab"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="patch-ab"

diff -udr work.origin/csw/asm.c work/csw/asm.c
--- csw/asm.c.orig	Mon Nov 22 23:18:14 1993
+++ csw/asm.c	Wed May 12 05:05:46 1999
@@ -8,7 +8,17 @@
 
 #include "../arch.h"
 
-#ifdef __svr4__		/* if SVR4 (including Solaris 2.x) */
+#ifdef __FreeBSD__
+#if __FreeBSD__ >= 2
+#include <osreldate.h>
+#if __FreeBSD_version >= 300004
+#define __elf__
+#endif
+#endif
+#endif
+
+	/* if SVR4 (including Solaris 2.x)  or FreeBSD-elf */
+#if defined(__svr4__) || defined (__elf__)
 #define SR_BUILD_CONTEXT	sr_build_context
 #define SR_CHG_CONTEXT		sr_chg_context
 #define SR_CHECK_STK		sr_check_stk

--------------C95750133F43E342306171D3
Content-Type: text/plain; charset=koi8-r; name="Makefile.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Makefile.diff"

--- Makefile.orig	Wed May 12 05:15:40 1999
+++ Makefile	Wed May 12 05:14:46 1999
@@ -1,7 +1,7 @@
 # New ports collection makefile for:	sr
 # Version required:		2.3.1
 # Date created:			2 Jun 1997
-# Whom:				Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
+# Whom:				Ruslan Shevchenko <rssh@satori.ipri.kiev.ua>
 #
 # $Id: Makefile,v 1.4 1998/10/14 04:10:03 jseger Exp $
 #
@@ -12,7 +12,9 @@
 MASTER_SITES=	ftp://ftp.cs.arizona.edu/sr/
 EXTRACT_SUFX=	.tar.Z
 
-MAINTAINER=	Ruslan@Shevchenko.Kiev.UA
+MAINTAINER=	rssh@cki.ipri.kiev.ua
+
+#BROKEN_ELF=	yes
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	prefix

--------------C95750133F43E342306171D3--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3738E5B6.506BE3B4>