From bogorodskiy@inbox.ru  Wed Jun 16 14:46:47 2004
Return-Path: <bogorodskiy@inbox.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4D8A316A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Jun 2004 14:46:47 +0000 (GMT)
Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 90AA143D48
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Jun 2004 14:46:46 +0000 (GMT)
	(envelope-from bogorodskiy@inbox.ru)
Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122])
	by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id 293B3E36DA
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Jun 2004 18:41:42 +0400 (MSD)
Received: from [194.186.150.155] (port=49450 helo=inbox.ru)
	by mx2.mail.ru with esmtp 
	id 1BabbV-000G0c-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 16 Jun 2004 18:41:33 +0400
Message-Id: <E1BabbV-000G0c-00.bogorodskiy-inbox-ru@mx2.mail.ru>
Date: Wed, 16 Jun 2004 18:41:33 +0400
From: Roman Bogorodskiy <bogorodskiy@inbox.ru>
Reply-To: Roman Bogorodskiy <bogorodskiy@inbox.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [ maintainer ] emulators/pearpc: update to 0.2.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         68010
>Category:       ports
>Synopsis:       [ maintainer ] emulators/pearpc: update to 0.2.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mezz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 16 14:50:25 GMT 2004
>Closed-Date:    Thu Jun 17 05:55:32 GMT 2004
>Last-Modified:  Thu Jun 17 05:55:32 GMT 2004
>Originator:     Roman Bogorodskiy
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #3: Mon May 31 19:34:11 MSD 2004 root@lame.novel.ru:/usr/obj/usr/src/sys/NOV i386

>Description:
	pearpc 0.2.0 released. Some patches were merged into the sources, so
	they are not needed in port now. 
>How-To-Repeat:
	
>Fix:

diff -ruN pearpc/Makefile /usr/ports/emulators/pearpc/Makefile
--- pearpc/Makefile	Tue Jun  1 02:14:37 2004
+++ /usr/ports/emulators/pearpc/Makefile	Wed Jun 16 18:27:42 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pearpc
-PORTVERSION=	0.1.2
+PORTVERSION=	0.2.0
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,8 +17,7 @@
 USE_XLIB=	yes
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include" \
-		LDFLAGS="-L${X11BASE}/lib"
+CONFIGURE_TARGET=       --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
 .if defined(WITH_OPTIMIZED_CFLAGS)
diff -ruN pearpc/distinfo /usr/ports/emulators/pearpc/distinfo
--- pearpc/distinfo	Mon May 24 01:28:46 2004
+++ /usr/ports/emulators/pearpc/distinfo	Wed Jun 16 16:58:46 2004
@@ -1,2 +1,2 @@
-MD5 (pearpc-0.1.2.tar.gz) = b65835ba666faaa426a069eb250ea38b
-SIZE (pearpc-0.1.2.tar.gz) = 675804
+MD5 (pearpc-0.2.0.tar.gz) = 1cf100ba0f9bbd05acbdc9ecdf87f5f5
+SIZE (pearpc-0.2.0.tar.gz) = 702392
diff -ruN pearpc/files/patch-configure /usr/ports/emulators/pearpc/files/patch-configure
--- pearpc/files/patch-configure	Mon May 24 01:28:46 2004
+++ /usr/ports/emulators/pearpc/files/patch-configure	Thu Jan  1 03:00:00 1970
@@ -1,23 +0,0 @@
---- configure.orig	Sun May 23 23:18:16 2004
-+++ configure	Sun May 23 23:18:55 2004
-@@ -697,9 +697,9 @@
- fi
- 
- if test "x$enable_release" = "xyes"; then
--	FLAGS_ALL="-g -O2 -Wall -fsigned-char"
-+	FLAGS_ALL="-Wall -fsigned-char"
- else
--	FLAGS_ALL="-g -O0 -Wall -fsigned-char"
-+	FLAGS_ALL="-Wall -fsigned-char"
- fi
- 
- if test "x$enable_fpo" = "xyes"; then
-@@ -1007,7 +1007,7 @@
-   USE_CPU_JITC_X86_FALSE=
- fi
- 
--FLAGS_ALL="-D_FILE_OFFSET_BITS=64 -pipe $FLAGS_ALL";
-+FLAGS_ALL="-D_FILE_OFFSET_BITS=64 $CFLAGS $FLAGS_ALL";
- 
- CXXFLAGS="$FLAGS_ALL"
- CFLAGS="$FLAGS_ALL"
diff -ruN pearpc/files/patch-src::io::3c90x::3c90x.cc /usr/ports/emulators/pearpc/files/patch-src::io::3c90x::3c90x.cc
--- pearpc/files/patch-src::io::3c90x::3c90x.cc	Mon May 24 01:28:46 2004
+++ /usr/ports/emulators/pearpc/files/patch-src::io::3c90x::3c90x.cc	Thu Jan  1 03:00:00 1970
@@ -1,11 +0,0 @@
---- /usr/ports/emulators/pearpc/work/pearpc-0.1.2/src/io/3c90x/3c90x.cc	Thu May 20 18:00:21 2004
-+++ src/io/3c90x/3c90x.cc	Sat May 22 13:56:19 2004
-@@ -47,6 +47,8 @@
- #include "config.h"
- #endif
- 
-+#define WIN32
-+
- #if defined(WIN32) || defined(__WIN32__)
- #else
- 
diff -ruN pearpc/files/patch-src::io::3c90x::if_posix.cc /usr/ports/emulators/pearpc/files/patch-src::io::3c90x::if_posix.cc
--- pearpc/files/patch-src::io::3c90x::if_posix.cc	Mon May 24 01:28:46 2004
+++ /usr/ports/emulators/pearpc/files/patch-src::io::3c90x::if_posix.cc	Thu Jan  1 03:00:00 1970
@@ -1,12 +0,0 @@
---- src/io/3c90x/if_posix.cc.orig	Sat May  8 03:27:32 2004
-+++ src/io/3c90x/if_posix.cc	Sat May 22 13:12:17 2004
-@@ -20,6 +20,9 @@
-  *	along with this program; if not, write to the Free Software
-  *	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-  */
-+
-+#define WIN32 /* Dirty hack  :-) */
-+
- #if defined(WIN32) || defined(__WIN32__)
- #else
- 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mezz 
Responsible-Changed-By: mezz 
Responsible-Changed-When: Thu Jun 17 05:40:18 GMT 2004 
Responsible-Changed-Why:  
I'll take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68010 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Thu Jun 17 05:54:52 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68010 
>Unformatted:
