From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 11:02:15 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63E0216A4CE for ; Mon, 11 Apr 2005 11:02:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47E6443D1F for ; Mon, 11 Apr 2005 11:02:15 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3BB2F7N088225 for ; Mon, 11 Apr 2005 11:02:15 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3BB2ERA088219 for freebsd-java@freebsd.org; Mon, 11 Apr 2005 11:02:14 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 11 Apr 2005 11:02:14 GMT Message-Id: <200504111102.j3BB2ERA088219@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 11:02:15 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes f [2004/07/13] java/68972 java unpack crashes during make install of lin o [2004/07/27] ports/69675 java Eclipse slow typing o [2004/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/10/20] ports/72902 java Make of /usr/ports/java/jdk14 fails with o [2004/12/06] ports/74760 java javavmwrapper messes up amavisd-new f [2004/12/21] ports/75348 java Tomcat port overwrites server.xml config o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/03/04] ports/78396 java Java 1.4 fails to compile under FreeBSD 4 11 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME f [2003/11/21] ports/59571 java improvements of www/jakarta-tomcat4[1] Ma o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters 5 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 16:24:57 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A4F016A4CE for ; Mon, 11 Apr 2005 16:24:57 +0000 (GMT) Received: from mail.borderware.com (mail.borderware.com [207.236.65.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5465B43D46 for ; Mon, 11 Apr 2005 16:24:56 +0000 (GMT) (envelope-from christy@borderware.com) Message-ID: <425AA4DA.8070103@borderware.com> Date: Mon, 11 Apr 2005 12:24:58 -0400 From: Christy Pang User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: TimeZone Defaults X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 16:24:57 -0000 I am using java version "1.4.2-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-root_26_jan_2005_10_29) Java HotSpot(TM) Client VM (build 1.4.2-p6-root_26_jan_2005_10_29, mixed mode) Is there a patch to fix this problem (*TimeZone.getDefault() isn't picking the Host-System's TimeZone setting*)? Thanks Christy On Wed, Nov 12, 2003 at 03:57:26PM +1300, Jonathan Chen wrote: > 0:baldur-/tmp,3:52pm> date > Wed Nov 12 15:53:01 NZDT 2003 > 0:baldur-/tmp,3:53pm> java tztest > Greenwich Mean Time > 0:baldur-/tmp,3:53pm> java -version > java version "1.4.2-p5" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p5-root_12_nov_2003_10_06) > Java HotSpot(TM) Client VM (build 1.4.2-p5-root_12_nov_2003_10_06, mixed mode) I looked into this when it was reported earlier, but unfortunately it worked for me (and still does). I'll have to try a few different time zone settings and try and get a feel for which ones break. > date Tue Nov 11 22:22:55 MST 2003 > java tztest Mountain Standard Time > Here's the code for tztest.java: > > import java.util.TimeZone; > public class tztest > { > public static void > main ( > String args []) > { > TimeZone tz = TimeZone.getDefault (); > > System.out.println (tz.getDisplayName ()); > } > } > > TimeZone.getTimeZone(String id) *does* work, so there is a workaround, > but TimeZone.getDefault() isn't picking the Host-System's TimeZone > setting. > > I'll raise a PR for it if no one here knows of a quick fix. Please put a PR in, its too easy to lose track otherwise. -- Greg Lewis Email : glewis at eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis at FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 17:14:41 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5266916A4CE for ; Mon, 11 Apr 2005 17:14:41 +0000 (GMT) Received: from redsky.actrix.co.nz (redsky.actrix.co.nz [203.96.16.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94DEB43D48 for ; Mon, 11 Apr 2005 17:14:40 +0000 (GMT) (envelope-from cyberfilter-bounce@actrix.co.nz) Received: by redsky.actrix.co.nz (Postfix, from userid 13131) id 59C5620835A; Tue, 12 Apr 2005 05:14:39 +1200 (NZST) Content-Type: multipart/mixed; boundary="===============0255661277==" MIME-Version: 1.0 Content-Disposition: inline From: A W B Elliot Date: Tue, 12 Apr 2005 05:14:39 +1200 (NZST) Message-ID: <1113239679.12996.TMDA@redsky.actrix.co.nz> References: <110101c53f27$10a38ea0$8a004174@freebsd.org> In-Reply-To: <110101c53f27$10a38ea0$8a004174@freebsd.org> To: java@freebsd.org Precedence: bulk Auto-Submitted: auto-replied X-Delivery-Agent: TMDA/1.0 (Cannonade) Subject: Re: Elliot, Best price today! - Confirmation Request X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: elliot+confirm+1113239679.12996.b7b86e@actrix.co.nz List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 17:14:41 -0000 --===============0255661277== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Description: Confirmation Request Content-Disposition: inline This message was created automatically by my Spam Filtering System at Actrix Networks. Sorry, but you (java@freebsd.org) are not on my list of pre-approved contacts, so your message (attached) has been put on hold. If you need to get that message to me urgently, or would just like me to receive it, please send a blank reply to this e-mail. This will release your original message to my mailbox. By doing this you will confirm that your message is legitimate, and not spam/junkmail. However, if you wish to be added to my list of pre-approved contacts permanently, so that future e-mails from you can reach me unhindered, please e-mail me again and ask. For more information on Actrix security services go to: http://www.actrix.co.nz/domestic/security/ If you do not respond to this confirmation request within 30 days, your message will not be delivered. --===============0255661277== Content-Type: message/rfc822 MIME-Version: 1.0 Content-Description: Original Message Content-Disposition: inline Return-Path: X-Original-To: elliot@actrix.co.nz Delivered-To: elliot@actrix.co.nz Received: from localhost (localhost [127.0.0.1]) by redsky.actrix.co.nz (Postfix) with ESMTP id 513FB208329 for ; Tue, 12 Apr 2005 05:14:38 +1200 (NZST) Received: from desire.actrix.co.nz ([192.168.30.21]) by localhost (redsky [192.168.30.50]) (amavisd-new, port 10024) with ESMTP id 11672-06 for ; Tue, 12 Apr 2005 05:14:37 +1200 (NZST) Received: from kichimail.com (unknown [221.162.63.52]) by desire.actrix.co.nz (Postfix) with SMTP id 719F715C4F for ; Tue, 12 Apr 2005 05:14:35 +1200 (NZST) Received: from freebsd.org (mx1.freebsd.org [216.136.204.125]) by kichimail.com (Postfix) with ESMTP id 0C31DDAED4 for ; Tue, 12 Apr 2005 02:20:08 -0400 Reply-To: laverty.2@wright.edu From: "Paychecks F. Shawn" To: Elliot Subject: Elliot, Best price today! Date: Tue, 12 Apr 2005 02:20:08 -0400 Message-ID: <110101c53f27$10a38ea0$8a004174@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 X-Virus-Scanned: by AMaViS perl-11 mion X-Virus-Scanned: by Actrix CyberScan X-Spam-Status: Yes, hits=13.2 tagged_above=4.0 required=5.8 tests=DATE_IN_FUTURE_12_24, INFO_TLD, RATWARE_RCVD_PF, RCVD_IN_XBL, URIBL_SBL, URIBL_SC_SURBL X-Spam-Level: ************* X-Spam-Flag: YES How are you? We present new discounts for all our products! More info you find here: http://bcdfiajehkm.yourbrillianthealth.info/?glehkmxwwttybcdfizctaj --===============0255661277==-- From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 17:28:04 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC60516A4CE for ; Mon, 11 Apr 2005 17:28:04 +0000 (GMT) Received: from www.enhyper.com (mailgate.enhyper.com [62.49.250.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C731743D46 for ; Mon, 11 Apr 2005 17:28:03 +0000 (GMT) (envelope-from iang@iang.org) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by www.enhyper.com (8.11.6/8.11.6) with SMTP id j3BHRqU09918 for ; Mon, 11 Apr 2005 18:27:57 +0100 X-Authentication-Warning: www.enhyper.com: localhost.localdomain [127.0.0.1] didn't use HELO protocol Message-ID: <425AB46B.5040602@iang.org> Date: Mon, 11 Apr 2005 18:31:23 +0100 From: Ian G Organization: http://iang.org/ User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050406) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <425AA4DA.8070103@borderware.com> In-Reply-To: <425AA4DA.8070103@borderware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: TimeZone Defaults X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 17:28:05 -0000 Christy Pang wrote: > > date > Tue Nov 11 22:22:55 MST 2003 > > java tztest > Mountain Standard Time I see the same result, doesn't pick up the timezone, except mine prints: $ java -cp . tztest Greenwich Mean Time $ java -version java version "1.4.2-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-toor_17_dec_2004_01_31) Java HotSpot(TM) Client VM (build 1.4.2-p6-toor_17_dec_2004_01_31, mixed mode) $ uname -a FreeBSD localhost 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 -- News and views on what matters in finance+crypto: http://financialcryptography.com/ From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 18:12:28 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1339916A4CE for ; Mon, 11 Apr 2005 18:12:28 +0000 (GMT) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA11743D53 for ; Mon, 11 Apr 2005 18:12:27 +0000 (GMT) (envelope-from truk@optonline.net) Received: from focus (ool-182e24b7.dyn.optonline.net [24.46.36.183]) by mta1.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with SMTP id <0IES00FCENXJRK@mta1.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Mon, 11 Apr 2005 14:12:55 -0400 (EDT) Date: Mon, 11 Apr 2005 14:10:34 -0400 From: Kurt Miller To: freebsd-java@freebsd.org Message-id: <012401c53ec1$c164b4e0$150110ac@focus> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Outlook Express 6.00.2900.2180 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <425AA4DA.8070103@borderware.com> <425AB46B.5040602@iang.org> Subject: Re: TimeZone Defaults X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 18:12:28 -0000 Is /etc/localtime a symlink? If it is, try copying the tz file to /etc/localtime instead. From: "Ian G" > Christy Pang wrote: > >> > date >> Tue Nov 11 22:22:55 MST 2003 >> > java tztest >> Mountain Standard Time > > > I see the same result, doesn't pick up the timezone, except mine prints: > > > $ java -cp . tztest > Greenwich Mean Time > > $ java -version > java version "1.4.2-p6" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-toor_17_dec_2004_01_31) > Java HotSpot(TM) Client VM (build 1.4.2-p6-toor_17_dec_2004_01_31, mixed mode) > > $ uname -a > FreeBSD localhost 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 > root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > -- > News and views on what matters in finance+crypto: > http://financialcryptography.com/ > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 21:34:49 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABB9A16A4CE for ; Mon, 11 Apr 2005 21:34:49 +0000 (GMT) Received: from mail.borderware.com (mail.borderware.com [207.236.65.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFDDD43D58 for ; Mon, 11 Apr 2005 21:34:48 +0000 (GMT) (envelope-from christy@borderware.com) Message-ID: <425AED7B.2030202@borderware.com> Date: Mon, 11 Apr 2005 17:34:51 -0400 From: Christy Pang User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: [Fwd: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 21:34:49 -0000 -------- Original Message -------- Subject: Re: TimeZone Defaults Date: Mon, 11 Apr 2005 15:05:44 -0400 From: Christy Pang To: Kurt Miller References: <425AA4DA.8070103@borderware.com> <425AB46B.5040602@iang.org> <012401c53ec1$c164b4e0$150110ac@focus> Kurt Miller wrote: > Is /etc/localtime a symlink? If it is, try copying the tz file > to /etc/localtime instead. It was a symlink. Our /etc file system is a read only file system. But even copy the TZ file to /etc/localtime md5 /etc/localtime MD5 (/etc/localtime) = 370687bb78b74fc4540f6a316d8bca02 root@sip-tey 2:24pm # md5 /usr/share/zoneinfo/America/Toronto MD5 (/usr/share/zoneinfo/America/Toronto) = 370687bb78b74fc4540f6a316d8bca02 the result is still wrong, should be *GMT-04:00* $JAVA_HOME/bin/java tztest tz = GMT+04:00 Christy > > From: "Ian G" > >> Christy Pang wrote: >> >>> > date >>> Tue Nov 11 22:22:55 MST 2003 >>> > java tztest >>> Mountain Standard Time >> >> >> >> I see the same result, doesn't pick up the timezone, except mine prints: >> >> >> $ java -cp . tztest >> Greenwich Mean Time >> >> $ java -version >> java version "1.4.2-p6" >> Java(TM) 2 Runtime Environment, Standard Edition (build >> 1.4.2-p6-toor_17_dec_2004_01_31) >> Java HotSpot(TM) Client VM (build 1.4.2-p6-toor_17_dec_2004_01_31, >> mixed mode) >> >> $ uname -a >> FreeBSD localhost 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 >> 04:19:18 UTC 2004 >> root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> -- >> News and views on what matters in finance+crypto: >> http://financialcryptography.com/ >> _______________________________________________ >> freebsd-java@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-java >> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 23:30:57 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D96516A4CE for ; Mon, 11 Apr 2005 23:30:57 +0000 (GMT) Received: from mxsf38.cluster1.charter.net (mxsf38.cluster1.charter.net [209.225.28.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFB4843D55 for ; Mon, 11 Apr 2005 23:30:56 +0000 (GMT) (envelope-from c0ldbyte@myrealbox.com) Received: from mxip10.cluster1.charter.net (mxip10a.cluster1.charter.net [209.225.28.140])j3BNUtND008551 for ; Mon, 11 Apr 2005 19:30:55 -0400 Received: from 24.247.253.134.gha.mi.chartermi.net (HELO eleanor.us1.wmi.uvac.net) (24.247.253.134) by mxip10.cluster1.charter.net with ESMTP; 11 Apr 2005 19:30:55 -0400 X-Ironport-AV: i="3.92,95,1112587200"; d="scan'208"; a="839188434:sNHT33730284" Date: Mon, 11 Apr 2005 19:30:51 -0400 (EDT) From: c0ldbyte To: Christy Pang In-Reply-To: <425AED7B.2030202@borderware.com> Message-ID: <20050411192952.R59262@eleanor.us1.wmi.uvac.net> References: <425AED7B.2030202@borderware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-java@freebsd.org Subject: Re: [Fwd: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 23:30:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 11 Apr 2005, Christy Pang wrote: > > > -------- Original Message -------- > Subject: Re: TimeZone Defaults > Date: Mon, 11 Apr 2005 15:05:44 -0400 > From: Christy Pang > To: Kurt Miller > References: <425AA4DA.8070103@borderware.com> <425AB46B.5040602@iang.org> > <012401c53ec1$c164b4e0$150110ac@focus> > > > > Kurt Miller wrote: > >> Is /etc/localtime a symlink? If it is, try copying the tz file >> to /etc/localtime instead. > > It was a symlink. Our /etc file system is a read only file system. But even > copy the TZ file to /etc/localtime > > md5 /etc/localtime > MD5 (/etc/localtime) = 370687bb78b74fc4540f6a316d8bca02 > root@sip-tey > 2:24pm # md5 /usr/share/zoneinfo/America/Toronto > MD5 (/usr/share/zoneinfo/America/Toronto) = 370687bb78b74fc4540f6a316d8bca02 > > the result is still wrong, should be *GMT-04:00* > > $JAVA_HOME/bin/java tztest > > tz = GMT+04:00 > > Christy > So set the correct time zone ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB 7E77 B261 50BA F7DF 979F iD8DBQFCWwitsmFQuvffl58RApdZAJ4juk7e4kYbt2l8eLolG/vq4fIXMQCeIwDj 62U9YSby5yIuEIQ6ElCLdIQ= =/C+6 -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 02:21:40 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D16D316A4CE for ; Tue, 12 Apr 2005 02:21:39 +0000 (GMT) Received: from mail.borderware.com (mail.borderware.com [207.236.65.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47BBF43D4C for ; Tue, 12 Apr 2005 02:21:39 +0000 (GMT) (envelope-from christy@borderware.com) Message-ID: <425B3089.4080703@borderware.com> Date: Mon, 11 Apr 2005 22:20:57 -0400 From: Christy Pang User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: c0ldbyte References: <425AED7B.2030202@borderware.com> <20050411192952.R59262@eleanor.us1.wmi.uvac.net> In-Reply-To: <20050411192952.R59262@eleanor.us1.wmi.uvac.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: [Fwd: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 02:21:40 -0000 c0ldbyte wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon, 11 Apr 2005, Christy Pang wrote: > >> >> >> -------- Original Message -------- >> Subject: Re: TimeZone Defaults >> Date: Mon, 11 Apr 2005 15:05:44 -0400 >> From: Christy Pang >> To: Kurt Miller >> References: <425AA4DA.8070103@borderware.com> >> <425AB46B.5040602@iang.org> <012401c53ec1$c164b4e0$150110ac@focus> >> >> >> >> Kurt Miller wrote: >> >>> Is /etc/localtime a symlink? If it is, try copying the tz file >>> to /etc/localtime instead. >> >> >> It was a symlink. Our /etc file system is a read only file system. >> But even copy the TZ file to /etc/localtime >> >> md5 /etc/localtime >> MD5 (/etc/localtime) = 370687bb78b74fc4540f6a316d8bca02 >> >> root@sip-tey 2:24pm # md5 /usr/share/zoneinfo/America/Toronto >> MD5 (/usr/share/zoneinfo/America/Toronto) = >> 370687bb78b74fc4540f6a316d8bca02 >> >> the result is still wrong, should be *GMT-04:00* >> >> $JAVA_HOME/bin/java tztest >> >> tz = GMT+04:00 >> >> Christy >> > > So set the correct time zone ? No. The /etc/localtime file is the same as /usr/share/zoneinfo/America/Toronto (same md5), the following code TimeZone.getDefault().getID(); ret. GMT+04:00 instead of GMT-04:00 . > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (FreeBSD) > Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F > Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB 7E77 B261 50BA F7DF 979F > > iD8DBQFCWwitsmFQuvffl58RApdZAJ4juk7e4kYbt2l8eLolG/vq4fIXMQCeIwDj > 62U9YSby5yIuEIQ6ElCLdIQ= > =/C+6 > -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 02:50:12 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C88CD16A4CE for ; Tue, 12 Apr 2005 02:50:12 +0000 (GMT) Received: from mta8.srv.hcvlny.cv.net (mta8.srv.hcvlny.cv.net [167.206.4.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4911E43D46 for ; Tue, 12 Apr 2005 02:50:12 +0000 (GMT) (envelope-from truk@optonline.net) Received: from focus (ool-182e24b7.dyn.optonline.net [24.46.36.183]) by mta8.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with SMTP id <0IET006NSBUNRB@mta8.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Mon, 11 Apr 2005 22:49:36 -0400 (EDT) Date: Mon, 11 Apr 2005 22:48:18 -0400 From: Kurt Miller To: freebsd-java@freebsd.org Message-id: <000901c53f0a$15aa43b0$150110ac@focus> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Outlook Express 6.00.2900.2180 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <425AED7B.2030202@borderware.com> Subject: Re: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 02:50:12 -0000 From: "Christy Pang" > Kurt Miller wrote: > >> Is /etc/localtime a symlink? If it is, try copying the tz file >> to /etc/localtime instead. > > It was a symlink. Our /etc file system is a read only file system. But even copy the TZ file to /etc/localtime > > md5 /etc/localtime > MD5 (/etc/localtime) = 370687bb78b74fc4540f6a316d8bca02 > > root@sip-tey 2:24pm # md5 > /usr/share/zoneinfo/America/Toronto > MD5 (/usr/share/zoneinfo/America/Toronto) = 370687bb78b74fc4540f6a316d8bca02 Does copying America/Montreal to /etc/localtime work? -Kurt From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 03:41:23 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B24D916A4CE for ; Tue, 12 Apr 2005 03:41:23 +0000 (GMT) Received: from mail.borderware.com (mail.borderware.com [207.236.65.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AC6243D2D for ; Tue, 12 Apr 2005 03:41:23 +0000 (GMT) (envelope-from christy@borderware.com) Message-ID: <425B4364.9090505@borderware.com> Date: Mon, 11 Apr 2005 23:41:24 -0400 From: Christy Pang User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kurt Miller References: <425AED7B.2030202@borderware.com> <000901c53f0a$15aa43b0$150110ac@focus> In-Reply-To: <000901c53f0a$15aa43b0$150110ac@focus> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 03:41:23 -0000 Kurt Miller wrote: > From: "Christy Pang" > >> Kurt Miller wrote: >> >>> Is /etc/localtime a symlink? If it is, try copying the tz file >>> to /etc/localtime instead. >> >> >> It was a symlink. Our /etc file system is a read only file system. >> But even copy the TZ file to /etc/localtime >> >> md5 /etc/localtime >> MD5 (/etc/localtime) = 370687bb78b74fc4540f6a316d8bca02 >> >> > root@sip-tey 2:24pm # md5 /usr/share/zoneinfo/America/Toronto >> MD5 (/usr/share/zoneinfo/America/Toronto) = >> 370687bb78b74fc4540f6a316d8bca02 > > > Does copying America/Montreal to /etc/localtime work? YES!!! But why copy over America/Toronto does not work? Thanks Chriwty > > -Kurt > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 03:59:36 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E861216A4CE for ; Tue, 12 Apr 2005 03:59:36 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79A1A43D5C for ; Tue, 12 Apr 2005 03:59:36 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so1420869rng for ; Mon, 11 Apr 2005 20:59:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=QXXu5OGJtA4nE9dL9cgJC6ZoDdo40ctWffADN4CZzo6zK1ewBAcq4DJhMpiogK4kpQCAerqEIgsZpk6KCvxjjWmFyhDAF4XjX+aXCY1WKcj+plzmzYX6BOuuYa09q5M80bKYL6PQJ+Ge9Z79TRxysd9pvkbQsasXwClbZioqGPo= Received: by 10.38.71.62 with SMTP id t62mr3584341rna; Mon, 11 Apr 2005 20:59:36 -0700 (PDT) Received: by 10.38.22.48 with HTTP; Mon, 11 Apr 2005 20:59:36 -0700 (PDT) Message-ID: Date: Tue, 12 Apr 2005 11:59:36 +0800 From: Jiawei Ye To: Christy Pang In-Reply-To: <425B4364.9090505@borderware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <425AED7B.2030202@borderware.com> <000901c53f0a$15aa43b0$150110ac@focus> <425B4364.9090505@borderware.com> cc: Kurt Miller cc: freebsd-java@freebsd.org Subject: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jiawei Ye List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 03:59:37 -0000 On Apr 12, 2005 11:41 AM, Christy Pang wrote: > YES!!! But why copy over America/Toronto does not work? > > Thanks > Chriwty > JDK/JRE do not behave well when required files are symlinks. I was bitten badly by font.properties and now it's TZ files. Is this a known problem or desired behaviour for JDK/JRE underlying files to be real path? Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 04:17:37 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBB0116A4CE for ; Tue, 12 Apr 2005 04:17:37 +0000 (GMT) Received: from mta6.srv.hcvlny.cv.net (mta6.srv.hcvlny.cv.net [167.206.4.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8480543D41 for ; Tue, 12 Apr 2005 04:17:37 +0000 (GMT) (envelope-from truk@optonline.net) Received: from [172.16.1.23] (ool-182e24b7.dyn.optonline.net [24.46.36.183]) by mta6.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0IET002SZFXHD4@mta6.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Tue, 12 Apr 2005 00:17:42 -0400 (EDT) Date: Mon, 11 Apr 2005 23:40:08 -0400 From: Kurt Miller In-reply-to: <002001c53f15$13594dd0$150110ac@focus> To: freebsd-java@freebsd.org, Christy Pang Message-id: <425B4318.70005@optonline.net> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_tvbk+Aqq45W1Qn+yg7HFGg)" X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050408) References: <002001c53f15$13594dd0$150110ac@focus> Subject: Re:TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 04:17:38 -0000 This is a multi-part message in MIME format. --Boundary_(ID_tvbk+Aqq45W1Qn+yg7HFGg) Content-type: text/plain; charset=iso-8859-1; format=flowed Content-transfer-encoding: 7BIT Kurt Miller wrote: > > ----- Original Message ----- From: "Christy Pang" > > To: "Kurt Miller" > Cc: > Sent: Monday, April 11, 2005 11:41 PM > Subject: Re: TimeZone Defaults] > > >> Kurt Miller wrote: >> >>> From: "Christy Pang" >>> >>>> Kurt Miller wrote: >>>> >>>>> Is /etc/localtime a symlink? If it is, try copying the tz file >>>>> to /etc/localtime instead. >>>> >>>> >>>> >>>> It was a symlink. Our /etc file system is a read only file system. >>>> But even copy the TZ file to /etc/localtime >>>> >>>> md5 /etc/localtime >>>> MD5 (/etc/localtime) = 370687bb78b74fc4540f6a316d8bca02 >>>> >>>> > root@sip-tey 2:24pm # md5 /usr/share/zoneinfo/America/Toronto >>>> MD5 (/usr/share/zoneinfo/America/Toronto) = >>>> 370687bb78b74fc4540f6a316d8bca02 >>> >>> >>> >>> Does copying America/Montreal to /etc/localtime work? >> >> >> >> YES!!! But why copy over America/Toronto does not work? >> >> Thanks >> Chriwty > America/Toronto is not recognized by the jdk (look in jre/lib/zi) so it falls back to using localtime(3). However the localtime code appears to have the GTM offset sign reversed. The attached patch should fix that and also allow you to use a symlink for /etc/localtime. -Kurt --Boundary_(ID_tvbk+Aqq45W1Qn+yg7HFGg) Content-type: text/plain; name="patch-java::util::TimeZone_md.c" Content-transfer-encoding: 7BIT Content-disposition: inline; filename="patch-java::util::TimeZone_md.c" $FreeBSD$ --- ../../j2se/src/solaris/native/java/util/TimeZone_md.c.orig Mon Apr 11 20:48:26 2005 +++ ../../j2se/src/solaris/native/java/util/TimeZone_md.c Mon Apr 11 20:50:06 2005 @@ -236,7 +236,7 @@ return NULL; } -#if defined(__linux__) +#if defined(__linux__) || defined(_BSD_SOURCE) /* * If it's a symlink, get the link name and its zone ID part. (The * older versions of timeconfig created a symlink as described in @@ -260,7 +260,7 @@ } return tz; } -#endif /* __linux__ */ +#endif /* __linux__ || _BSD_SOURCE */ /* * If it's a regular file, we need to find out the same zoneinfo file @@ -548,18 +548,17 @@ return strdup("GMT"); } - /* Note that the time offset direction is opposite. */ #if defined(_BSD_SOURCE) clock = time(NULL); tzset(); local_tm = localtime(&clock); - if (local_tm->tm_gmtoff > 0) { + if (local_tm->tm_gmtoff >= 0) { offset = (time_t) local_tm->tm_gmtoff; - sign = '-'; + sign = '+'; } else { offset = (time_t) -local_tm->tm_gmtoff; - sign = '+'; + sign = '-'; } #else if (timezone > 0) { --Boundary_(ID_tvbk+Aqq45W1Qn+yg7HFGg)-- From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 11:52:16 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1152916A4CE for ; Tue, 12 Apr 2005 11:52:16 +0000 (GMT) Received: from www.enhyper.com (mailgate.enhyper.com [62.49.250.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE2EA43D54 for ; Tue, 12 Apr 2005 11:52:14 +0000 (GMT) (envelope-from iang@iang.org) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by www.enhyper.com (8.11.6/8.11.6) with SMTP id j3CBq8U14968 for ; Tue, 12 Apr 2005 12:52:13 +0100 X-Authentication-Warning: www.enhyper.com: localhost.localdomain [127.0.0.1] didn't use HELO protocol Message-ID: <425BB73C.8080805@iang.org> Date: Tue, 12 Apr 2005 12:55:40 +0100 From: Ian G Organization: http://iang.org/ User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050406) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <425AED7B.2030202@borderware.com> <000901c53f0a$15aa43b0$150110ac@focus> <425B4364.9090505@borderware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 11:52:16 -0000 Jiawei Ye wrote: > On Apr 12, 2005 11:41 AM, Christy Pang wrote: > >>YES!!! But why copy over America/Toronto does not work? >> >>Thanks >>Chriwty >> > > JDK/JRE do not behave well when required files are symlinks. I was > bitten badly by font.properties and now it's TZ files. Is this a known > problem or desired behaviour for JDK/JRE underlying files to be real > path? For me, it isn't a symlink issue. The /etc/localtime file is set to something approximately regional and date(1) recognises that as seen by its picking up summer time. iang localhost$ cd /etc localhost$ ls -la localtime -r--r--r-- 1 root wheel 1323 Dec 15 02:52 localtime localhost$ ls -latr localtime -r--r--r-- 1 root wheel 1323 Dec 15 02:52 localtime localhost$ date Tue Apr 12 12:48:52 BST 2005 localhost$ ls -latr localtime -r--r--r-- 1 root wheel 1323 Dec 15 02:52 localtime localhost$ md5 localtime MD5 (localtime) = 4c9f9c5c5f86bcc5465c08831ef59e75 localhost$ md5 /usr/share/zoneinfo/*/* | grep 4c9f9c5c5f86bcc5465c08831ef59e75 MD5 (/usr/share/zoneinfo/Europe/London) = 4c9f9c5c5f86bcc5465c08831ef59e75 localhost$ ... $ java -cp . tztest Greenwich Mean Time -- News and views on what matters in finance+crypto: http://financialcryptography.com/ From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 17:01:23 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0843B16A4CE; Mon, 11 Apr 2005 17:01:23 +0000 (GMT) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EE9743D58; Mon, 11 Apr 2005 17:01:21 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd25.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1DL2HH-00063j-00; Mon, 11 Apr 2005 19:00:47 +0200 Received: from Andro-Beta.Leidinger.net (Jb1UueZHwemFszxyGYEoi6qz0AyenyntFqxi3ZggvwtlGS2chW9hww@[217.83.25.128]) by fwd25.sul.t-online.de with esmtp id 1DL1IZ-0PK9GC0; Mon, 11 Apr 2005 17:58:03 +0200 Received: from localhost (localhost [127.0.0.1])j3BFvcaJ020744; Mon, 11 Apr 2005 17:57:39 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.32 ([141.113.101.32]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Mon, 11 Apr 2005 17:57:36 +0200 Message-ID: <20050411175736.mabpo9me4g4cwc4g@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 11 Apr 2005 17:57:36 +0200 From: Alexander Leidinger To: alexs@snark.rinet.ru, apeiron@coitusmentis.info, arundel@h3c.de, asa@gascom.ru, benlutz@datacomm.ch, blackend@FreeBSD.org, bms@FreeBSD.org, brett@peloton.runet.edu, cartola@openit.com.br, chris@chrisburkert.de, cjh@kr.freebsd.org, cracauer@cons.org, cyrille.lefevre@laposte.net, danfe@FreeBSD.org, darius@dons.net.au, des@FreeBSD.org, dyeske@yahoo.com, ebert@informatik.unibw-muenchen.de, frank@opengroupware.org, freebsd-emulation@FreeBSD.org, girgen@FreeBSD.org, glewis@FreeBSD.org, hido@coreblack.com, holger@e-gitt.net, ip@doom.homeunix.org, jamie@bishopston.net, janos.mohacsi@bsd.hu, java@FreeBSD.org, jylefort@brutele.be, kiesel@schlund.de, kris@FreeBSD.org, lioux@FreeBSD.org, maho@FreeBSD.org, matt@peterson.org, matusita@FreeBSD.org, mb@imp.ch, mbr@FreeBSD.org, mezz@FreeBSD.org, mi@aldan.algebra.com, mranner@inode.at, nik@FreeBSD.org, nivit@users.sourceforge.net, orlando@break.net, pat@FreeBSD.org, pav@FreeBSD.org, ports@brandon.dvalentine.com, riggs@rrr.de, rjoseph@mammalia.org, roam@FreeBSD.org, ryan@sasknow.com, se@FreeBSD.org, sethk@meowfishies.com, sime@logos.hr, simond@irrelevant.org, sr-13@mail.ru, trevor@FreeBSD.org, tux@pinguru.net, udo.schweigert@siemens.com, user@unknown.nu, voisine@gmail.FreeBSD.ORG MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_6apxqruzpe4o" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.2) / FreeBSD-4.11 X-ID: Jb1UueZHwemFszxyGYEoi6qz0AyenyntFqxi3ZggvwtlGS2chW9hww@t-dialin.net X-TOI-MSGID: 28f830cc-3dc7-4ab8-8fba-9de67ab5644f X-Mailman-Approved-At: Tue, 12 Apr 2005 13:03:22 +0000 Subject: RFC: cleanup of linux ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 17:01:23 -0000 This message is in MIME format. --=_6apxqruzpe4o Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 7bit Dear maintainers, attached is a patch to cleanup some issues in our linux ports. Additionally to the changes described in $PORTSDIR/CHANGES and $PORTSDIR/UPDATING (after patching off-course :-) ) and corresponding changes in the ports there are also some cleanups related to the (mis(?)-)use of PREFIX and some cleanups related to superflous variable definitions. Please apply the patch (cd into $PORTSDIR and run "patch --quiet -p1 , if the port needs emulators/linux_base-. #=09=09=09=09 If set to "7", a dependency is registered to emulators/linu= x_base. +#=09=09=09=09 Implies appropriate settings for NO_FILTER_SHLIBS, +#=09=09=09=09 STRIP and STRIP_CMD. # USE_LINUX_PREFIX -#=09=09=09=09- controls the action of PREFIX (see above). +#=09=09=09=09- controls the action of PREFIX (see above). Only use this +#=09=09=09=09 if the port is a linux infrastructure port (e.g. contains l= ibs +#=09=09=09=09 or a sound server which supports the FreeBSD native one), +#=09=09=09=09 use the default or the X11 prefix if it's a leaf port +#=09=09=09=09 (e.g. a game or program). +#=09=09=09=09 Implies NO_MTREE=3Dyes. ## # USE_MYSQL=09=09- Add MySQL client dependency. #=09=09=09=09 If no version is given (by the maintainer via the port or @@ -1500,15 +1508,35 @@ .endif .if defined(USE_LINUX) + +# install(1) also does a brandelf on strip, so don't strip with FreeBSD to= ols. +STRIP=3D +.=09if exists(${LINUXBASE}/usr/bin/strip) +STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip +.=09else +STRIP_CMD=3D=09${TRUE} +.=09endif + +NO_FILTER_SHLIBS=3D=09yes + +# Allow the user to specify another linux_base version. +.=09if defined(OVERRIDE_DEFAULT_LINUX_BASE) +.=09=09if ${USE_LINUX} =3D=3D yes +USE_LINUX=3D=09${OVERRIDE_DEFAULT_LINUX_BASE} +.=09=09endif +.=09endif + .=09if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX}) -RUN_DEPENDS+=3D=09${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${U= SE_LINUX} +DEFAULT_LINUX_BASE=3D=09${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_ba= se-${USE_LINUX} .=09else .=09=09if ${USE_LINUX} =3D=3D "7" -RUN_DEPENDS+=3D ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linu= x_base +DEFAULT_LINUX_BASE=3D=09${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulat= ors/linux_base .=09=09else -RUN_DEPENDS+=3D=09${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/li= nux_base-8 +DEFAULT_LINUX_BASE=3D=09${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulat= ors/linux_base-8 .=09=09endif .=09endif + +RUN_DEPENDS+=3D=09${DEFAULT_LINUX_BASE} .endif .if defined(USE_MOTIF) @@ -1775,7 +1803,11 @@ .endif .if defined(USE_XLIB) +.=09if defined(USE_LINUX) +RUN_DEPENDS+=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x= 11/linux-XFree86-libs +.=09else LIB_DEPENDS+=3D=09X11.6:${X_LIBRARIES_PORT} +.=09endif # Add explicit X options to avoid problems with false positives in configu= re .if defined(GNU_CONFIGURE) CONFIGURE_ARGS+=3D--x-libraries=3D${X11BASE}/lib --x-includes=3D${X11BASE}= /include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/UPDATING devel_ports/UPDATING --- ports/UPDATING=09Mon Apr 11 10:14:22 2005 +++ devel_ports/UPDATING=09Mon Apr 11 14:19:55 2005 @@ -15,6 +15,15 @@ gdm_enable=3D"YES" +2005XXYY: + AFFECTS: users of alternate linux_base ports + AUTHOR: netchild@FreeBSD.org + + The Ports Collection now allows to override the default linux_base port. + Specify e.g. OVERRIDE_DEFAULT_LINUX_BASE=3Drh-9 in /etc/make.conf to use + ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use + ${PORTSDIR}/emulators/linux_base-${OVERRIDE_DEFAULT_LINUX_BASE}). + 20050406: AFFECTS: users of databases/mysql50-server AUTHOR: ale@FreeBSD.org @@ -41,7 +50,7 @@ 11.x to 12.x. 20050324: - AFFECTS: users of net/mDNSResponder, + AFFECTS: users of net/mDNSResponder AUTHOR: brooks@FreeBSD.org In mDNSResponder 98_1, mdnsd is no longer started by default due to a diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/archivers/stuffit/Makefile devel_ports/archivers/stuffit/Makef= ile --- ports/archivers/stuffit/Makefile=09Tue Mar 1 22:51:24 2005 +++ devel_ports/archivers/stuffit/Makefile=09Thu Apr 7 16:34:24 2005 @@ -20,8 +20,7 @@ ONLY_FOR_ARCHS=3D=09i386 amd64 -USE_LINUX?=3D=09yes -STRIP=3D=09=09# empty: do not strip linux binary during INSTALL_PROGRAM +USE_LINUX=3D=09yes NO_WRKSUBDIR=3D=09yes STUFFIT_FILES=3D=09bin/unstuff bin/stuff STUFFIT_MAN=3D=09man/man1/stuff.1 man/man1/unstuff.1 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/astro/linux-setiathome/Makefile devel_ports/astro/linux-setiat= home/Makefile --- ports/astro/linux-setiathome/Makefile=09Tue Mar 1 22:51:24 2005 +++ devel_ports/astro/linux-setiathome/Makefile=09Thu Apr 7 15:01:20 2005 @@ -16,7 +16,7 @@ # ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes # Local variables # diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/audio/baudline/Makefile devel_ports/audio/baudline/Makefile --- ports/audio/baudline/Makefile=09Tue Mar 1 22:51:25 2005 +++ devel_ports/audio/baudline/Makefile=09Thu Apr 7 16:34:41 2005 @@ -16,15 +16,14 @@ MAINTAINER=3D=09dyeske@yahoo.com COMMENT=3D=09A real-time signal analysis tool and an offline time-frequenc= y browser -RUN_DEPENDS=3D=09mpg123:${PORTSDIR}/audio/mpg123 \ -=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr= ee86-libs +RUN_DEPENDS=3D=09mpg123:${PORTSDIR}/audio/mpg123 BROKEN=3D=09=09Unfetchable USE_X_PREFIX=3D=09yes +USE_LINUX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 NO_BUILD=3D=09yes -STRIP=3D # Linux binary should not be stripped by INSTALL_PROGRAM # because as a side effect it brands the binary as FreeBSD. diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/audio/linux-arts/Makefile devel_ports/audio/linux-arts/Makefil= e --- ports/audio/linux-arts/Makefile=09Mon Apr 11 10:01:27 2005 +++ devel_ports/audio/linux-arts/Makefile=09Mon Apr 11 15:27:32 2005 @@ -21,15 +21,13 @@ BUILD_DEPENDS=3D=09=09rpm:${PORTSDIR}/archivers/rpm -USE_LINUX?=3D=09=09yes -PREFIX?=3D=09=09${LINUXBASE} -NO_MTREE=3D=09=09yes +USE_LINUX=3D=09=09yes +USE_LINUX_PREFIX=3D=09yes LDCONFIG_LINUX=3D=09=09${LINUXBASE}/sbin/ldconfig ONLY_FOR_ARCHS=3D=09=09i386 DIST_SUBDIR=3D=09=09rpm NO_BUILD=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes PLIST=3D=09=09=09${MASTERDIR}/pkg-plist.${ARCH} MD5_FILE=3D=09=09${MASTERDIR}/distinfo.${ARCH} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/audio/linux-mbrola/Makefile devel_ports/audio/linux-mbrola/Mak= efile --- ports/audio/linux-mbrola/Makefile=09Tue Mar 1 22:51:25 2005 +++ devel_ports/audio/linux-mbrola/Makefile=09Thu Apr 7 15:16:18 2005 @@ -19,7 +19,7 @@ MASTERDIR=3D=09${PORTSDIR}/audio/mbrola MD5_FILE=3D=09${.CURDIR}/distinfo ONLY_FOR_ARCHS=3D=09alpha i386 ppc sparc64 -USE_LINUX?=3D=09y +USE_LINUX=3D=09yes USE_ZIP=3D=09y MASTERDIR=3D=09${.CURDIR}/../mbrola diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/audio/linux-vsound/Makefile devel_ports/audio/linux-vsound/Mak= efile --- ports/audio/linux-vsound/Makefile=09Tue Mar 1 22:51:25 2005 +++ devel_ports/audio/linux-vsound/Makefile=09Thu Apr 7 15:14:18 2005 @@ -19,7 +19,7 @@ RUN_DEPENDS=3D=09sox:${PORTSDIR}/audio/sox/ -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_BUILD=3D=09yes do-install: diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/audio/teamspeak_client/Makefile devel_ports/audio/teamspeak_cl= ient/Makefile --- ports/audio/teamspeak_client/Makefile=09Wed Mar 2 06:42:43 2005 +++ devel_ports/audio/teamspeak_client/Makefile=09Thu Apr 7 16:22:17 2005 @@ -21,8 +21,8 @@ ONLY_FOR_ARCHS=3D=09i386 USE_BZIP2=3D=09yes +USE_LINUX=3D=09yes NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3Dyes do-install: =09${MKDIR} ${PREFIX}/lib/teamspeak_client diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/audio/teamspeak_server/Makefile devel_ports/audio/teamspeak_se= rver/Makefile --- ports/audio/teamspeak_server/Makefile=09Tue Mar 1 22:51:26 2005 +++ devel_ports/audio/teamspeak_server/Makefile=09Thu Apr 7 16:22:24 2005 @@ -20,8 +20,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_BZIP2=3D=09yes NO_BUILD=3D=09yes -USE_LINUX?=3D=09yes -NO_FILTER_SHLIBS=3Dyes +USE_LINUX=3D=09yes do-install: =09@ ${SETENV} PKG_PREFIX=3D${PREFIX} \ diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/cad/linux-eagle/Makefile devel_ports/cad/linux-eagle/Makefile --- ports/cad/linux-eagle/Makefile=09Tue Mar 1 22:51:26 2005 +++ devel_ports/cad/linux-eagle/Makefile=09Thu Apr 7 15:01:14 2005 @@ -28,7 +28,7 @@ RESTRICTED=3D=09"Usage permitted for non-commercial purposes only" NO_CDROM=3D=09"Sale for profit is not permitted" -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_BUILD=3D=09yes PKGMESSAGE=3D=09${WRKDIR}/pkg-message diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/databases/sybase_ase/Makefile devel_ports/databases/sybase_ase= /Makefile --- ports/databases/sybase_ase/Makefile=09Tue Mar 1 22:51:26 2005 +++ devel_ports/databases/sybase_ase/Makefile=09Mon Apr 11 15:28:26 2005 @@ -22,7 +22,7 @@ NO_INSTALL_MANPAGES=3D yes PKGDEINSTALL=3D=09${PKGDIR}/pkg-install -USE_LINUX?=3D yes +USE_LINUX=3D=09yes pre-install: =09@${ECHO_MSG} "---> Creating sybase user and group" diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/devel/linux-allegro/Makefile devel_ports/devel/linux-allegro/M= akefile --- ports/devel/linux-allegro/Makefile=09Mon Apr 11 10:01:46 2005 +++ devel_ports/devel/linux-allegro/Makefile=09Mon Apr 11 14:19:58 2005 @@ -18,14 +18,13 @@ MAINTAINER=3D=09freebsd-emulation@FreeBSD.org COMMENT=3D=09Cross-platform game programming library (linux version) -USE_LINUX?=3D=09=09yes +USE_LINUX=3D=09=09yes USE_LINUX_PREFIX=3D=09yes LDCONFIG_LINUX=3D=09${LINUXBASE}/sbin/ldconfig ONLY_FOR_ARCHS=3D=09i386 DIST_SUBDIR=3D=09rpm NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3D=09yes DBPATH=3D=09=09/var/lib/rpm RPMFLAGS=3D=09--ignoreos --root ${PREFIX} --dbpath ${DBPATH} \ diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/devel/linux-runrev/Makefile devel_ports/devel/linux-runrev/Mak= efile --- ports/devel/linux-runrev/Makefile=09Tue Mar 1 22:51:26 2005 +++ devel_ports/devel/linux-runrev/Makefile=09Thu Apr 7 16:40:05 2005 @@ -19,23 +19,18 @@ MAINTAINER=3D=09blackend@FreeBSD.org COMMENT=3D=09Revolution is a rapid application development environment -RUN_DEPENDS=3D=09xanim:${PORTSDIR}/multimedia/xanim \ -=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr= ee86-libs +RUN_DEPENDS=3D=09xanim:${PORTSDIR}/multimedia/xanim NO_CDROM=3D=09"Sale for profit is not permitted" ONLY_FOR_ARCHS=3D=09i386 NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/Revolution-${PORTVERSION} DATADIR=3D=09${PREFIX}/share/Revolution-${PORTVERSION} -BRANDELF?=3D=09/usr/bin/brandelf -# do not strip linux binaries -STRIP=3D -# try using the Linux strip command -STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip - BIN_FILES=3D=09revolution LIB_DIRS=3D=09Databases components components/assistants \ =09=09components/help components/help/Appendixes \ @@ -99,9 +94,7 @@ .endfor # binaries .for file in ${BIN_FILES} -. if exists(${STRIP_CMD}) =09@${STRIP_CMD} ${WRKSRC}/${file} -. endif =09@${BRANDELF} -t Linux ${WRKSRC}/${file} =09@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${DATADIR}/${file} .endfor diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/devel/linux-understand_ada/Makefile devel_ports/devel/linux-un= derstand_ada/Makefile --- ports/devel/linux-understand_ada/Makefile=09Fri Apr 1 03:27:54 2005 +++ devel_ports/devel/linux-understand_ada/Makefile=09Mon Apr 11 15:30:58 2= 005 @@ -17,8 +17,6 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09Understand can parse a Ada project helping reverse engineer i= t -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - IGNORE=3D=09=09"is unfetchable and outdated and new version requires suppo= rt contract" DEPRECATED=3D=09${IGNORE} EXPIRATION_DATE=3D=092005-05-01 @@ -27,11 +25,10 @@ ONLY_FOR_ARCHS=3D=09i386 NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes PREFIX_LINUX?=3D=09${LINUXBASE} -STRIP=3D=09=09${LINUXBASE}/usr/bin/strip -BRANDELF?=3D=09/usr/bin/brandelf -FMT?=3D=09=09/usr/bin/fmt INSTALL_DATA_DIR?=3D=09${INSTALL} -d -o ${SHAREOWN} \ =09=09=09-g ${SHAREGRP} -m 755 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/devel/linux-understand_c/Makefile devel_ports/devel/linux-unde= rstand_c/Makefile --- ports/devel/linux-understand_c/Makefile=09Fri Apr 1 03:27:54 2005 +++ devel_ports/devel/linux-understand_c/Makefile=09Mon Apr 11 15:31:26 200= 5 @@ -18,8 +18,6 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09Understand can parse a C/C++ project helping reverse engineer= it -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - IGNORE=3D=09=09"is unfetchable and outdated and new version requires suppo= rt contract" DEPRECATED=3D=09${IGNORE} EXPIRATION_DATE=3D=092005-05-01 @@ -28,11 +26,10 @@ ONLY_FOR_ARCHS=3D=09i386 NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes PREFIX_LINUX?=3D=09${LINUXBASE} -STRIP=3D=09=09${LINUXBASE}/usr/bin/strip -BRANDELF?=3D=09/usr/bin/brandelf -FMT?=3D=09=09/usr/bin/fmt CONF_DIRS=3D=09compilers configs fonts license CONF_FILES=3D=09compilers/aix.cfg compilers/alpha.cfg \ diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/devel/linux-understand_java/Makefile devel_ports/devel/linux-u= nderstand_java/Makefile --- ports/devel/linux-understand_java/Makefile=09Fri Apr 1 03:27:54 2005 +++ devel_ports/devel/linux-understand_java/Makefile=09Mon Apr 11 15:32:00 = 2005 @@ -17,8 +17,6 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09Understand can parse a Java project helping reverse engineer = it -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - IGNORE=3D=09=09"is unfetchable and outdated and new version requires suppo= rt contract" DEPRECATED=3D=09${IGNORE} EXPIRATION_DATE=3D=092005-05-01 @@ -27,11 +25,10 @@ ONLY_FOR_ARCHS=3D=09i386 NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes PREFIX_LINUX?=3D=09${LINUXBASE} -STRIP=3D=09=09${LINUXBASE}/usr/bin/strip -BRANDELF?=3D=09/usr/bin/brandelf -FMT?=3D=09=09/usr/bin/fmt INSTALL_DATA_DIR?=3D=09${INSTALL} -d -o ${SHAREOWN} \ =09=09=09-g ${SHAREGRP} -m 755 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/devel/linux_devtools/Makefile devel_ports/devel/linux_devtools= /Makefile --- ports/devel/linux_devtools/Makefile=09Mon Apr 11 04:59:57 2005 +++ devel_ports/devel/linux_devtools/Makefile=09Mon Apr 11 14:23:45 2005 @@ -35,17 +35,12 @@ BUILD_DEPENDS=3D=09rpm:${PORTSDIR}/archivers/rpm -RESTRICTED=3D=09=09"binaries under GNU GPL without accompanying source" - -USE_LINUX?=3D=09=09yes -NO_LATEST_LINK=3D=09=09yes +USE_LINUX=3D=09=098 +USE_LINUX_PREFIX=3D=09yes ONLY_FOR_ARCHS=3D=09=09i386 amd64 CONFLICTS=3D=09=09linux_devtools-* DIST_SUBDIR=3D=09=09rpm/${ARCH}/${PORTVERSION} -PREFIX=3D=09=09=09${LINUXBASE} NO_BUILD=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes -NO_MTREE=3D=09=09yes PLIST=3D=09=09=09${WRKDIR}/pkg-plist # Let's avoid hardcoding 'en' as the language. @@ -57,8 +52,8 @@ DBPATH=3D=09=09=09/var/lib/rpm RPM=3D=09=09=09LC_ALL=3DC rpm -RPMFLAGS=3D=09=09--root ${LINUXBASE} --dbpath ${DBPATH} --nodeps \ -=09=09=09--replacepkgs --ignoreos +RPMFLAGS=3D=09=09--root ${PREFIX} --dbpath ${DBPATH} --nodeps \ +=09=09=09--replacepkgs --ignoreos --ignorearch RPMDIR=3D=09=09=09${DISTDIR}/${DIST_SUBDIR} REMOVE_DIRS=3D=09=09dev tmp var/tmp @@ -87,12 +82,15 @@ do-install: =09@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL -=09@${MKDIR} ${LINUXBASE}/tmp -=09@${MKDIR} ${LINUXBASE}/var/tmp -=09@${MKDIR} ${LINUXBASE}/dev -=09@${RM} -f ${LINUXBASE}/dev/null -=09@mknod ${LINUXBASE}/dev/null c 2 2 -=09@${CHMOD} 666 ${LINUXBASE}/dev/null +=09@${MKDIR} ${PREFIX}/tmp +=09@${MKDIR} ${PREFIX}/var/tmp +# this isn't needed on a devfs system +.if ( ${OSVERSION} < 502100 ) +=09@${MKDIR} ${PREFIX}/dev +=09@${RM} -f ${PREFIX}/dev/null +=09@mknod ${PREFIX}/dev/null c 2 2 +=09@${CHMOD} 666 ${PREFIX}/dev/null +.endif # # Install all packages. =09@for R in ${DISTFILES}; do \ @@ -108,10 +106,10 @@ # # Finish =09@for D in ${REMOVE_DIRS}; do \ -=09=09${RM} -rf ${LINUXBASE}/$$D; \ +=09=09${RM} -rf ${PREFIX}/$$D; \ =09done =09@for F in ${REMOVE_FILES}; do \ -=09=09${RM} ${LINUXBASE}/$$F; \ +=09=09${RM} ${PREFIX}/$$F; \ =09done .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/devel/zendstudio/Makefile devel_ports/devel/zendstudio/Makefil= e --- ports/devel/zendstudio/Makefile=09Tue Mar 1 22:51:27 2005 +++ devel_ports/devel/zendstudio/Makefile=09Thu Apr 7 15:29:23 2005 @@ -20,6 +20,7 @@ RESTRICTED=3D=09"Redistribution is not permitted" NO_PACKAGES=3D=09${RESTRICTED} NO_CDROM=3D=09${RESTRICTED} +USE_LINUX=3D=09yes .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/editors/edith/Makefile devel_ports/editors/edith/Makefile --- ports/editors/edith/Makefile=09Tue Mar 1 22:51:27 2005 +++ devel_ports/editors/edith/Makefile=09Thu Apr 7 16:42:30 2005 @@ -16,10 +16,9 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09A X11 GUI editor for binary and plain text files -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - -USE_X_PREFIX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes RESTRICTED=3D=09"Redistribution not allowed" NO_BUILD=3D=09yes @@ -29,7 +28,6 @@ WRKSRC=3D=09=09${WRKDIR}/edith EDITHDIR=3D=09${PREFIX}/lib/edith -STRIP=3D do-install: =09${INSTALL_PROGRAM} ${WRKSRC}/bin/linux/edith ${PREFIX}/bin diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/editors/staroffice5/Makefile devel_ports/editors/staroffice5/M= akefile --- ports/editors/staroffice5/Makefile=09Tue Mar 1 22:51:27 2005 +++ devel_ports/editors/staroffice5/Makefile=09Thu Apr 7 15:30:45 2005 @@ -26,6 +26,7 @@ NO_CDROM=3D=09'Must be downloaded direct from Sun via www interface' USE_REINPLACE=3D=09yes +USE_LINUX=3D=09yes IS_INTERACTIVE=3D=09yes EXTRACT_ONLY=3D=09${DISTNAME}${EXTRACT_SUFX} EXTRACT_CMD=3D=09${CAT} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/editors/staroffice52/Makefile devel_ports/editors/staroffice52= /Makefile --- ports/editors/staroffice52/Makefile=09Tue Mar 1 22:51:28 2005 +++ devel_ports/editors/staroffice52/Makefile=09Thu Apr 7 15:31:15 2005 @@ -42,6 +42,7 @@ IS_INTERACTIVE=3D=09yes NO_BUILD=3D=09yes USE_REINPLACE=3D=09yes +USE_LINUX=3D=09yes DIST_SUBDIR=3D=09staroffice52 WRKSRC=3D=09=09${WRKDIR}/office52 TMPDIR=3D=09=09${WRKDIR}/tmp diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/editors/staroffice60/Makefile devel_ports/editors/staroffice60= /Makefile --- ports/editors/staroffice60/Makefile=09Tue Mar 1 22:51:28 2005 +++ devel_ports/editors/staroffice60/Makefile=09Thu Apr 7 15:31:32 2005 @@ -32,6 +32,7 @@ ONLY_FOR_ARCHS=3D=09i386 NO_CDROM=3D=09'Must be bought and downloaded direct from Sun via www inter= face' +USE_LINUX=3D=09yes IS_INTERACTIVE=3D=09yes NO_BUILD=3D=09yes SOVERSION=3D=09${PORTNAME}${PORTVERSION} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/editors/staroffice70/Makefile devel_ports/editors/staroffice70= /Makefile --- ports/editors/staroffice70/Makefile=09Tue Mar 1 22:51:28 2005 +++ devel_ports/editors/staroffice70/Makefile=09Thu Apr 7 15:31:46 2005 @@ -35,6 +35,7 @@ ONLY_FOR_ARCHS=3D=09i386 NO_CDROM=3D=09'Must be bought and downloaded direct from Sun via www inter= face' +USE_LINUX=3D=09yes IS_INTERACTIVE=3D=09yes NO_BUILD=3D=09yes SOVERSION=3D=09${PORTNAME}${PORTVERSION} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/linux-geepee32/Makefile devel_ports/emulators/linux-= geepee32/Makefile --- ports/emulators/linux-geepee32/Makefile=09Tue Mar 1 22:51:28 2005 +++ devel_ports/emulators/linux-geepee32/Makefile=09Thu Apr 7 16:51:20 200= 5 @@ -15,17 +15,16 @@ MAINTAINER=3D=09arundel@h3c.de COMMENT=3D=09The only GP32 emulator for i386 -RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/li= nux-sdl12 \ -=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr= ee86-libs +RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/li= nux-sdl12 ONLY_FOR_ARCHS=3D=09i386 USE_X_PREFIX=3D=09yes +USE_LINUX=3D=09yes USE_ZIP=3D=09yes NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes USE_REINPLACE=3D=09yes REINPLACE_ARGS=3D -STRIP=3D TARGET_DIR=3D=09${PREFIX}/${PORTNAME} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/linux-peops-softgpu/Makefile devel_ports/emulators/l= inux-peops-softgpu/Makefile --- ports/emulators/linux-peops-softgpu/Makefile=09Tue Mar 1 22:51:28 2005 +++ devel_ports/emulators/linux-peops-softgpu/Makefile=09Thu Apr 7 16:44:1= 9 2005 @@ -19,22 +19,20 @@ NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 -# Linux binary should not be stripped by INSTALL_PROGRAM -# because as a side effect it brands the binary as FreeBSD. -STRIP=3D - MAJOR=3D=09=09${PORTVERSION:R} MINOR=3D=09=09${PORTVERSION:E} PLIST_SUB+=3D=09MAJOR=3D${MAJOR} MINOR=3D${MINOR} .include -PSEMUPRO_PLUGINS_DIR=3D=09${LOCALBASE}/lib/psemupro/plugins -PSEMUPRO_CFGBINS_DIR=3D=09${LOCALBASE}/libexec/psemupro/cfg -PSEMUPRO_CFGFILES_DIR=3D=09${LOCALBASE}/share/psemupro/cfg +PSEMUPRO_PLUGINS_DIR=3D=09${PREFIX}/lib/psemupro/plugins +PSEMUPRO_CFGBINS_DIR=3D=09${PREFIX}/libexec/psemupro/cfg +PSEMUPRO_CFGFILES_DIR=3D=09${PREFIX}/share/psemupro/cfg do-install: =09${MKDIR} ${PSEMUPRO_PLUGINS_DIR} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/linux-peops-spu/Makefile devel_ports/emulators/linux= -peops-spu/Makefile --- ports/emulators/linux-peops-spu/Makefile=09Tue Mar 1 22:51:29 2005 +++ devel_ports/emulators/linux-peops-spu/Makefile=09Thu Apr 7 16:44:58 20= 05 @@ -19,22 +19,20 @@ NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 -# Linux binary should not be stripped by INSTALL_PROGRAM -# because as a side effect it brands the binary as FreeBSD. -STRIP=3D - MAJOR=3D=09=09${PORTVERSION:R} MINOR=3D=09=09${PORTVERSION:E} PLIST_SUB+=3D=09MAJOR=3D${MAJOR} MINOR=3D${MINOR} .include -PSEMUPRO_PLUGINS_DIR=3D=09${LOCALBASE}/lib/psemupro/plugins -PSEMUPRO_CFGBINS_DIR=3D=09${LOCALBASE}/libexec/psemupro/cfg -PSEMUPRO_CFGFILES_DIR=3D=09${LOCALBASE}/share/psemupro/cfg +PSEMUPRO_PLUGINS_DIR=3D=09${PREFIX}/lib/psemupro/plugins +PSEMUPRO_CFGBINS_DIR=3D=09${PREFIX}/libexec/psemupro/cfg +PSEMUPRO_CFGFILES_DIR=3D=09${PREFIX}/share/psemupro/cfg do-install: =09${MKDIR} ${PSEMUPRO_PLUGINS_DIR} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/linux-pete-mesagpu/Makefile devel_ports/emulators/li= nux-pete-mesagpu/Makefile --- ports/emulators/linux-pete-mesagpu/Makefile=09Tue Mar 1 22:51:29 2005 +++ devel_ports/emulators/linux-pete-mesagpu/Makefile=09Thu Apr 7 16:49:36= 2005 @@ -21,22 +21,20 @@ NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 -# Linux binary should not be stripped by INSTALL_PROGRAM -# because as a side effect it brands the binary as FreeBSD. -STRIP=3D - MAJOR=3D=09=09${PORTVERSION:R} MINOR=3D=09=09${PORTVERSION:E} PLIST_SUB+=3D=09MAJOR=3D${MAJOR} MINOR=3D${MINOR} .include -PSEMUPRO_PLUGINS_DIR=3D=09${LOCALBASE}/lib/psemupro/plugins -PSEMUPRO_CFGBINS_DIR=3D=09${LOCALBASE}/libexec/psemupro/cfg -PSEMUPRO_CFGFILES_DIR=3D=09${LOCALBASE}/share/psemupro/cfg +PSEMUPRO_PLUGINS_DIR=3D=09${PREFIX}/lib/psemupro/plugins +PSEMUPRO_CFGBINS_DIR=3D=09${PREFIX}/libexec/psemupro/cfg +PSEMUPRO_CFGFILES_DIR=3D=09${PREFIX}/share/psemupro/cfg do-install: =09${MKDIR} ${PSEMUPRO_PLUGINS_DIR} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/linux-vmware-toolbox2/Makefile devel_ports/emulators= /linux-vmware-toolbox2/Makefile --- ports/emulators/linux-vmware-toolbox2/Makefile=09Tue Mar 1 22:51:29 20= 05 +++ devel_ports/emulators/linux-vmware-toolbox2/Makefile=09Thu Apr 7 16:49= :55 2005 @@ -16,8 +16,6 @@ MAINTAINER=3D=09matusita@FreeBSD.org COMMENT=3DVMware toolbox for guest OS (for VMware 2.x, Linux version) -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - ONLY_FOR_ARCHS=3D=09i386 PLIST_FILES=3D=09bin/linux-vmware-toolbox USE_X_PREFIX=3D=09yes @@ -47,7 +45,6 @@ .else MOUNT_DEV?=3D=09fd0 .endif -STRIP=3D VMWARE_VER=3D=092.0.4 BUILD_VER=3D=091142 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/linux-vmware-toolbox4/Makefile devel_ports/emulators= /linux-vmware-toolbox4/Makefile --- ports/emulators/linux-vmware-toolbox4/Makefile=09Tue Mar 8 03:01:46 20= 05 +++ devel_ports/emulators/linux-vmware-toolbox4/Makefile=09Thu Apr 7 16:50= :34 2005 @@ -16,17 +16,15 @@ MAINTAINER=3D=09matusita@FreeBSD.org COMMENT=3DVMware toolbox for guest OS (for VMware 4.x, Linux version) -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - DISTDIR=3D=09${MOUNT_PT} IGNOREFILES=3D=09${DISTFILES} PLIST_FILES=3D=09bin/linux-vmware-toolbox WRKSRC=3D=09=09${WRKDIR}/vmware-tools-distrib -STRIP=3D ONLY_FOR_ARCHS=3D=09i386 -USE_X_PREFIX=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes .if !defined(BATCH) IS_INTERACTIVE=3D=09yes .endif diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/linux-winetools/Makefile devel_ports/emulators/linux= -winetools/Makefile --- ports/emulators/linux-winetools/Makefile=09Tue Mar 1 22:51:29 2005 +++ devel_ports/emulators/linux-winetools/Makefile=09Thu Apr 7 16:51:02 20= 05 @@ -16,16 +16,14 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09A setup and configuration tool for WINE -RUN_DEPENDS=3D=09wine:${PORTSDIR}/emulators/wine \ -=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr= ee86-libs +RUN_DEPENDS=3D=09wine:${PORTSDIR}/emulators/wine NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 PLIST_FILES=3D=09bin/winetools - -BRANDELF?=3D=09/usr/bin/brandelf -STRIP=3D post-extract: =09@${BRANDELF} -t Linux ${WRKDIR}/${PORTNAME} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/rtc/Makefile devel_ports/emulators/rtc/Makefile --- ports/emulators/rtc/Makefile=09Tue Mar 1 22:51:29 2005 +++ devel_ports/emulators/rtc/Makefile=09Thu Apr 7 15:37:07 2005 @@ -18,7 +18,7 @@ WRKSRC=3D=09=09${WRKDIR}/files NO_FETCH=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes=09# because of ${DEVDIR} KMODDIR=3D=09${PREFIX}/modules diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/vmware2/Makefile devel_ports/emulators/vmware2/Makef= ile --- ports/emulators/vmware2/Makefile=09Tue Mar 1 22:51:30 2005 +++ devel_ports/emulators/vmware2/Makefile=09Thu Apr 7 15:39:47 2005 @@ -45,7 +45,7 @@ SRC_BASE?=3D=09/usr/src ONLY_FOR_ARCHS=3D=09i386 -USE_XLIB=3D=09yes +USE_LINUX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/vmware-distrib GZCAT=3D=09=09${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/extract MAN1=3D=09=09vmware.1 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/emulators/vmware3/Makefile devel_ports/emulators/vmware3/Makef= ile --- ports/emulators/vmware3/Makefile=09Tue Mar 1 22:51:30 2005 +++ devel_ports/emulators/vmware3/Makefile=09Thu Apr 7 15:40:55 2005 @@ -22,7 +22,7 @@ MAINTAINER=3D=09orlando@break.net COMMENT=3D=09A virtual machine emulator - a full PC in a window -RUN_DEPENDS=3D=09/dev/rtc:${PORTSDIR}/emulators/rtc \ +RUN_DEPENDS=3D=09${LINUXBASE}/dev/rtc:${PORTSDIR}/emulators/rtc \ =09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr= ee86-libs RESTRICTED=3D=09"Not sure if we can redistribute it" @@ -39,7 +39,7 @@ SRC_BASE?=3D=09/usr/src ONLY_FOR_ARCHS=3D=09i386 -USE_XLIB=3D=09yes +USE_LINUX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/vmware-distrib GZCAT=3D=09=09${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/extract MAN1=3D=09=09vmware.1 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/french/gibi/Makefile devel_ports/french/gibi/Makefile --- ports/french/gibi/Makefile=09Sat Apr 2 22:14:43 2005 +++ devel_ports/french/gibi/Makefile=09Thu Apr 7 15:43:27 2005 @@ -35,6 +35,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_REINPLACE=3D=09yes +USE_LINUX=3D=09yes REINPLACE_ARGS=3D=09-i "" NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/french/homard/Makefile devel_ports/french/homard/Makefile --- ports/french/homard/Makefile=09Sat Apr 2 22:15:09 2005 +++ devel_ports/french/homard/Makefile=09Thu Apr 7 15:42:03 2005 @@ -26,7 +26,7 @@ ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes USE_PYTHON=3D=09yes USE_REINPLACE=3D=09yes REINPLACE_ARGS=3D=09-i "" diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/french/staroffice52/Makefile devel_ports/french/staroffice52/M= akefile --- ports/french/staroffice52/Makefile=09Tue Mar 1 22:51:30 2005 +++ devel_ports/french/staroffice52/Makefile=09Thu Apr 7 15:42:55 2005 @@ -36,6 +36,7 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes NO_CDROM=3D=09'Doit =EAtre t=E9l=E9charg=E9 depuis le site web de Sun' CD_MOUNTPT=3D=09'/cdrom' IS_INTERACTIVE=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/HeroesOfMightAndMagic/Makefile devel_ports/games/HeroesO= fMightAndMagic/Makefile --- ports/games/HeroesOfMightAndMagic/Makefile=09Tue Mar 1 22:51:31 2005 +++ devel_ports/games/HeroesOfMightAndMagic/Makefile=09Thu Apr 7 15:43:45 = 2005 @@ -20,6 +20,7 @@ PLIST=3D=09=09${WRKDIR}/PLIST IS_INTERACTIVE=3D=09yes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes NO_BUILD=3D=09yes NO_WRKSUBDIR=3D=09yes NO_CDROM=3D=09Software is commercial diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/adom/Makefile devel_ports/games/adom/Makefile --- ports/games/adom/Makefile=09Tue Mar 1 22:51:31 2005 +++ devel_ports/games/adom/Makefile=09Thu Apr 7 16:51:36 2005 @@ -15,11 +15,11 @@ MAINTAINER=3D=09sr-13@mail.ru COMMENT=3D=09An rogue-like advanced rpg with color support (binary port) -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - NO_CDROM=3D=09Copy of CD must be sent to author ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/adom NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/atitd/Makefile devel_ports/games/atitd/Makefile --- ports/games/atitd/Makefile=09Tue Mar 1 22:51:31 2005 +++ devel_ports/games/atitd/Makefile=09Thu Apr 7 16:55:30 2005 @@ -28,13 +28,14 @@ .endif PLIST_FILES=3D=09bin/atitd -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes USE_MESA=3D=09yes ONLY_FOR_ARCHS=3D=09i386 NO_CDROM=3D=09"Redistribution not allowed" -NO_PACKAGE=3D=09"Not packagable." NO_BUILD=3D=09yes +NO_PACKAGE=3D=09"Not packagable." NO_WRKSUBDIR=3D=09yes LINUX_SH=3D=09${LINUXBASE}/bin/sh @@ -58,6 +59,7 @@ post-install: =09@${ECHO_MSG} "=3D=3D=3D> Fixing permissions." =09@${CHOWN} -R atitd:atitd ${PREFIX}/games/atitd +=09@${BRANDELF} -t Linux ${PREFIX}/games/atitd/elaunch =09@${CHMOD} ug+s ${PREFIX}/games/atitd/elaunch =09${INSTALL_SCRIPT} ${WRKSRC}/atitd.sh ${PREFIX}/bin/atitd =09@${ECHO_MSG} "=3D=3D=3D> Running the post-install script." diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/dsnake/Makefile devel_ports/games/dsnake/Makefile --- ports/games/dsnake/Makefile=09Tue Mar 1 22:51:31 2005 +++ devel_ports/games/dsnake/Makefile=09Thu Apr 7 17:12:24 2005 @@ -20,9 +20,12 @@ NO_PACKAGE=3D=09Licence forbids any repacking and reselling ONLY_FOR_ARCHS=3D=09i386 -NO_BUILD=3D=09yes -PREFIX?=3D=09${X11BASE} +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/DeluxeSnake + +do-build: +=09${BRANDELF} -t Linux ${WRKSRC}/dsnake do-install: =09${MKDIR} ${DATADIR} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/halflifeserver/Makefile devel_ports/games/halflifeserver= /Makefile --- ports/games/halflifeserver/Makefile=09Tue Mar 1 22:51:31 2005 +++ devel_ports/games/halflifeserver/Makefile=09Thu Apr 7 15:45:16 2005 @@ -18,7 +18,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes USE_PERL5=3D=09yes NO_CDROM=3D=09"Size; the data set is much too big" NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/hlserver-cs/Makefile devel_ports/games/hlserver-cs/Makef= ile --- ports/games/hlserver-cs/Makefile=09Tue Mar 1 22:51:31 2005 +++ devel_ports/games/hlserver-cs/Makefile=09Thu Apr 7 15:45:49 2005 @@ -26,7 +26,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes USE_PERL5=3D=09yes NO_CDROM=3D=09"Size; the data set is much too big" NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/hohlin/Makefile devel_ports/games/hohlin/Makefile --- ports/games/hohlin/Makefile=09Tue Mar 1 22:51:32 2005 +++ devel_ports/games/hohlin/Makefile=09Thu Apr 7 15:50:10 2005 @@ -22,6 +22,7 @@ WRKSRC=3D=09=09${WRKDIR}/hoh-install-${PORTVERSION}/ USE_BZIP2=3D=09YES +USE_LINUX=3D=09yes NO_BUILD=3D=09YES ONLY_FOR_ARCHS=3D=09i386 SHORTPORTVERSION=3D${PORTVERSION:C/([0-9]*)\.([0-9]*)/\1\2/} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/linux-enemyterritory/Makefile devel_ports/games/linux-en= emyterritory/Makefile --- ports/games/linux-enemyterritory/Makefile=09Tue Mar 1 22:51:32 2005 +++ devel_ports/games/linux-enemyterritory/Makefile=09Thu Apr 7 15:49:38 2= 005 @@ -27,7 +27,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_PACKAGE=3D=09Distfile is 258MB, set FORCE_PACKAGE if you really want to= build this package RESTRICTED=3D=09Redistribution is limited, see license NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/linux-nwnclient/Makefile devel_ports/games/linux-nwnclie= nt/Makefile --- ports/games/linux-nwnclient/Makefile=09Tue Mar 1 22:51:32 2005 +++ devel_ports/games/linux-nwnclient/Makefile=09Thu Apr 7 15:49:57 2005 @@ -23,6 +23,7 @@ NO_BUILD=3D=09yes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes NWNDATADIR=3D=09${LOCALBASE}/share/nwndata PLIST_SUB+=3D=09NWNVERSION=3D"${PORTVERSION:S/.//}" diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/linux-nwserver/Makefile devel_ports/games/linux-nwserver= /Makefile --- ports/games/linux-nwserver/Makefile=09Tue Mar 1 22:51:32 2005 +++ devel_ports/games/linux-nwserver/Makefile=09Thu Apr 7 16:59:18 2005 @@ -16,14 +16,13 @@ MAINTAINER=3D=09apeiron@coitusmentis.info COMMENT=3D=09Neverwinter Nights Linux (x86) Dedicated Server -USE_LINUX?=3D=09yes -NO_BUILD=3D=09yes +USE_LINUX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 WRKSRC=3D=09=09${WRKDIR} -# Linux binary should not be stripped by INSTALL_PROGRAM -# because as a side effect it brands the binary as FreeBSD. -STRIP=3D +do-build: +=09${BRANDELF} -t Linux ${WRKDIR}/fixinstall +=09${BRANDELF} -t Linux ${WRKDIR}/nwserver do-install: =09${INSTALL_PROGRAM} ${WRKDIR}/fixinstall ${PREFIX}/bin diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/linux-q3ademo/Makefile devel_ports/games/linux-q3ademo/M= akefile --- ports/games/linux-q3ademo/Makefile=09Tue Mar 1 22:51:32 2005 +++ devel_ports/games/linux-q3ademo/Makefile=09Thu Apr 7 16:59:49 2005 @@ -21,8 +21,9 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09Linux 3d shooter from id Software / Loki Software (demo versi= on) -PREFIX?=3D=09${X11BASE} USE_GL=3D=09=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes .include @@ -32,9 +33,6 @@ RUN_DEPENDS +=3D=09${LINUXBASE}/lib/libGL.so:${PORTSDIR}/graphics/linux_gl= x .endif -# Linux binary should not be stripped by INSTALL_PROGRAM as it uses /usr/b= in/strip which then brands the binary as a FreeBSD ELF one. -STRIP=3D - .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE=3D=09=09may not be automatically fetched due to licensing\ =09=09restrictions. You MUST manually fetch the Linux version from:\ @@ -63,6 +61,8 @@ =09@${ECHO_CMD} "quake=3D\"./q3demo\"" >> ${WRKSRC}/q3demo =09@${ECHO_CMD} "\""$$"quake\" "$$"*" >> ${WRKSRC}/q3demo =09@${ECHO_CMD} "exit "$$"?" >> ${WRKSRC}/q3demo +=09@${BRANDELF} -t Linux ${WRKSRC}/bin/x86/glibc-2.0/q3ded +=09@${BRANDELF} -t Linux ${WRKSRC}/bin/x86/glibc-2.0/q3demo do-install: =09${INSTALL_PROGRAM} ${WRKSRC}/q3demo ${PREFIX}/bin diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/linux-spheresofchaos-demo/Makefile devel_ports/games/lin= ux-spheresofchaos-demo/Makefile --- ports/games/linux-spheresofchaos-demo/Makefile=09Tue Mar 1 22:51:32 20= 05 +++ devel_ports/games/linux-spheresofchaos-demo/Makefile=09Thu Apr 7 15:50= :22 2005 @@ -21,6 +21,7 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/li= nux-sdl12 USE_ZIP=3D=09yes +USE_LINUX=3D=09yes NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/linux-steam/Makefile devel_ports/games/linux-steam/Makef= ile --- ports/games/linux-steam/Makefile=09Tue Mar 1 22:51:33 2005 +++ devel_ports/games/linux-steam/Makefile=09Thu Apr 7 15:49:22 2005 @@ -18,6 +18,7 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/li= nux-XFree86-libs IS_INTERACTIVE=3D=09yes +USE_LINUX=3D=09yes PKGMESSAGE=3D=09${WRKDIR}/pkg-message INSTALLDIR?=3D=09steam diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/q3server/Makefile devel_ports/games/q3server/Makefile --- ports/games/q3server/Makefile=09Tue Mar 1 22:51:33 2005 +++ devel_ports/games/q3server/Makefile=09Thu Apr 7 15:46:56 2005 @@ -19,7 +19,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes USE_PERL5=3D=09yes NO_CDROM=3D=09"Size; the data set is much too big" NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/rt2-demo/Makefile devel_ports/games/rt2-demo/Makefile --- ports/games/rt2-demo/Makefile=09Tue Mar 1 22:51:33 2005 +++ devel_ports/games/rt2-demo/Makefile=09Thu Apr 7 15:47:03 2005 @@ -19,7 +19,7 @@ NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes do-install: =09=09@${SH} ${FILESDIR}/do-install ${PREFIX} ${DISTDIR} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/rtcw/Makefile devel_ports/games/rtcw/Makefile --- ports/games/rtcw/Makefile=09Tue Mar 1 22:51:33 2005 +++ devel_ports/games/rtcw/Makefile=09Thu Apr 7 15:47:14 2005 @@ -18,7 +18,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_CDROM=3D=09"Size; the data set is much too big" NO_BUILD=3D=09yes NO_WRKSUBDIR=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/rtcw-paks/Makefile devel_ports/games/rtcw-paks/Makefile --- ports/games/rtcw-paks/Makefile=09Tue Mar 1 22:51:33 2005 +++ devel_ports/games/rtcw-paks/Makefile=09Thu Apr 7 17:02:04 2005 @@ -18,17 +18,17 @@ MAINTAINER=3D=09nik@FreeBSD.org COMMENT=3D=09Return to Castle Wolfenstein for Linux .pk3 files -# Make this a BUILD_ rather than a RUN_DEPEND so that it can create the +# Make this a BUILD_DEPENDs too, so that it can create the # directory hierarchy for us. BUILD_DEPENDS=3D=09${PREFIX}/usr/games/rtcw/wolf.x86:${PORTSDIR}/games/rtc= w +RUN_DEPENDS=3D=09${BUILD_DEPENDS} ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes EXTRACT_ONLY=3D=09# Don't extract anything -STRIP=3D -GAMEDIR=3D=09${PREFIX}/usr/games/rtcw/ +GAMEDIR=3D=09${PREFIX}/games/rtcw/ .include @@ -41,6 +41,7 @@ # Do nothing for the build. Don't set NO_BUILD because of the earlier # BUILD_DEPENDS do-build: +=09@${DO_NADA} do-install: =09${MKDIR} -p ${GAMEDIR}/main diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/ssamtse/Makefile devel_ports/games/ssamtse/Makefile --- ports/games/ssamtse/Makefile=09Tue Mar 1 22:51:34 2005 +++ devel_ports/games/ssamtse/Makefile=09Thu Apr 7 17:13:53 2005 @@ -16,11 +16,10 @@ MAINTAINER=3D=09asa@gascom.ru COMMENT=3D=09Serious Sam - The Second Encounter -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - NO_BUILD=3D=09yes USE_BZIP2=3D=09yes USE_REINPLACE=3D=09yes +USE_LINUX=3D=09yes USE_X_PREFIX=3D=09yes USE_GL=3D=09=09yes INSTALLS_SHLIB=3D=09yes @@ -59,6 +58,7 @@ =09@${SED} 's|%SSAMDIR%|${SSAMDIR}|g' ${PKGDIR}/pkg-message > ${PKGMESSAGE= } do-install: +# XXX: this is missing "${BRANDELF} -t Linux " =09@${MKDIR} ${SSAMDIR} =09@${TAR} --bzip2 -C ${SSAMDIR} -xf \ =09=09${WRKDIR}/ssam/bins.tar.bz2 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/stvef-paks/Makefile devel_ports/games/stvef-paks/Makefil= e --- ports/games/stvef-paks/Makefile=09Tue Mar 1 22:51:34 2005 +++ devel_ports/games/stvef-paks/Makefile=09Thu Apr 7 17:03:42 2005 @@ -17,17 +17,17 @@ MAINTAINER=3D=09nik@FreeBSD.org COMMENT=3D=09Star Trek Voyager: Elite Forces dedicated server for Linux .p= k3 files -# Make this a BUILD_ rather than a RUN_DEPEND so that it can create the +# Make this a BUILD_DEPENDS too, so that it can create the # directory hierarchy for us. BUILD_DEPENDS=3D=09${PREFIX}/usr/games/stvef/linuxstvefded_1.2-static:${PO= RTSDIR}/games/stvef-server +RUN_DEPENDS=3D=09${BUILD_DEPENDS} ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes EXTRACT_ONLY=3D=09# Don't extract anything -STRIP=3D -GAMEDIR=3D=09${PREFIX}/usr/games/stvef/ +GAMEDIR=3D=09${PREFIX}/games/stvef/ .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/stvef-server/Makefile devel_ports/games/stvef-server/Mak= efile --- ports/games/stvef-server/Makefile=09Tue Mar 1 22:51:34 2005 +++ devel_ports/games/stvef-server/Makefile=09Thu Apr 7 17:04:59 2005 @@ -17,19 +17,21 @@ ONLY_FOR_ARCHS=3D=09i386 USE_ZIP=3D=09yes -USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes -NO_BUILD=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/Linux -STRIP=3D INSTALL_DIR=3D=09${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 LDCONFIG_LINUX=3D=09${LINUXBASE}/sbin/ldconfig -GAMEDIR=3D=09${PREFIX}/usr/games/stvef/ +GAMEDIR=3D=09${PREFIX}/games/stvef/ # files which should be installed with executables perms EXECUTABLES=3D=09linuxstvefded_1.2-static linuxstvefded_1.2-glibc2.1.3 + +de-build: +=09${BRANDELF} -t Linux ${WRKSRC}/linuxstvefded_1.2-static +=09${BRANDELF} -t Linux ${WRKSRC}/linuxstvefded_1.2-glibc2.1.3 do-install: =09${MKDIR} ${GAMEDIR} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/utserver/Makefile devel_ports/games/utserver/Makefile --- ports/games/utserver/Makefile=09Sun Mar 27 04:16:32 2005 +++ devel_ports/games/utserver/Makefile=09Thu Apr 7 15:47:49 2005 @@ -23,6 +23,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_LINUX_PREFIX=3D=09yes +USE_LINUX=3D=09yes USE_PERL5=3D=09yes NO_CDROM=3D=09"Size; the data set is much too big" NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/games/utserver-to/Makefile devel_ports/games/utserver-to/Makef= ile --- ports/games/utserver-to/Makefile=09Sat Mar 26 21:12:01 2005 +++ devel_ports/games/utserver-to/Makefile=09Thu Apr 7 17:10:01 2005 @@ -22,13 +22,12 @@ MAINTAINER?=3D=09pat@FreeBSD.org COMMENT?=3D=09Unreal Tournament mod Tactical Ops full server package for L= inux -RUN_DEPENDS=3D=09${LINUXBASE}/usr/games/ut-server/System/ucc-bin:${UTSERVE= R_PORT} +RUN_DEPENDS=3D=09${LOCALBASE}/games/ut-server/System/ucc-bin:${UTSERVER_PO= RT} BROKEN=3D=09=09Unfetchable ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes USE_PERL5=3D=09yes NO_CDROM=3D=09"Size; the data set is much too big" NO_BUILD=3D=09yes @@ -43,13 +42,8 @@ .ifndef(DO_USE_WRKSUBDIR) NO_WRKSUBDIR=3D=09yes .endif -.if defined(DO_USE_STRIP) && exists(${LINUXBASE}/usr/bin/strip) -STRIP=3D=09${LINUXBASE}/usr/bin/strip -.else -STRIP=3D -.endif -UTDIR=3D=09=09usr/games/ut-server/ +UTDIR=3D=09=09games/ut-server/ PLIST_SUB+=3D=09UTDIR=3D"${UTDIR}" INSTALL_DIR=3D=09${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} @@ -84,6 +78,7 @@ # Contributed by do-install: install-parse-plist install-scripts +# XXX: this is missing a ${BRANDELF} -t Linux install-parse-plist: generate-plist =09@${PERL} -e 'open(FHANDLER,"${TMPPLIST}");' \ =09=09-e 'open(FDIR,">${WRKDIR}/dirs.sh.tmp");' \ diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/german/citrix_ica/Makefile devel_ports/german/citrix_ica/Makef= ile --- ports/german/citrix_ica/Makefile=09Tue Mar 1 22:51:34 2005 +++ devel_ports/german/citrix_ica/Makefile=09Thu Apr 7 15:50:39 2005 @@ -23,6 +23,7 @@ NO_WRKSUBDIR=3D=09Yes NO_BUILD=3D Yes +USE_LINUX=3D=09yes CDIR=3D=09${PREFIX}/ICAClient BINDIR=3D=09=09${PREFIX}/bin diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/german/staroffice5/Makefile devel_ports/german/staroffice5/Mak= efile --- ports/german/staroffice5/Makefile=09Tue Mar 1 22:51:35 2005 +++ devel_ports/german/staroffice5/Makefile=09Thu Apr 7 15:50:52 2005 @@ -25,6 +25,7 @@ NO_LATEST_LINK=3D=09yes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes NO_CDROM=3D=09'Sie muessen StarOffice manuell via WWW-Interface herunterla= den.' IS_INTERACTIVE=3D=09yes EXTRACT_ONLY=3D=09${DISTNAME}${EXTRACT_SUFX} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/german/staroffice52/Makefile devel_ports/german/staroffice52/M= akefile --- ports/german/staroffice52/Makefile=09Tue Mar 1 22:51:35 2005 +++ devel_ports/german/staroffice52/Makefile=09Thu Apr 7 15:51:05 2005 @@ -35,6 +35,7 @@ NO_LATEST_LINK=3D=09yes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes NO_CDROM=3D=09'Sie muessen StarOffice manuell via WWW-Interface herunterla= den.' CD_MOUNTPT=3D=09'/cdrom' IS_INTERACTIVE=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/german/staroffice70/Makefile devel_ports/german/staroffice70/M= akefile --- ports/german/staroffice70/Makefile=09Tue Mar 1 22:51:35 2005 +++ devel_ports/german/staroffice70/Makefile=09Thu Apr 7 15:51:15 2005 @@ -37,6 +37,7 @@ IS_INTERACTIVE=3D=09yes NO_BUILD=3D=09yes +USE_LINUX=3D=09yes SOVERSION=3D=09${PORTNAME}${PORTVERSION} WRKSRC=3D=09=09${WRKDIR}/${SOVERSION} TMPDIR=3D=09=09${WRKDIR}/tmp diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/graphics/linux-ac3d/Makefile devel_ports/graphics/linux-ac3d/M= akefile --- ports/graphics/linux-ac3d/Makefile=09Tue Mar 15 21:40:18 2005 +++ devel_ports/graphics/linux-ac3d/Makefile=09Thu Apr 7 17:16:34 2005 @@ -16,19 +16,20 @@ MAINTAINER=3D=09ip@doom.homeunix.org COMMENT=3D=09Easy to use and powerful 3D graphics modeller (trial version) -.ifdef(INSTALL_DYNLINKED_VERSION) -LIB_DEPENDS=3D=09${LINUXBASE}/usr/libGLU.so.1:${PORTSDIR}/graphics/linux_m= esa3 -.endif -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs \ +RUN_DEPENDS=3D=09\ =09=09${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \ =09=09${LINUXBASE}/usr/lib/libpng.so.2:${PORTSDIR}/graphics/linux-png10 \ =09=09${LINUXBASE}/usr/lib/libtiff.so.3:${PORTSDIR}/graphics/linux-tiff +.ifdef(INSTALL_DYNLINKED_VERSION) +RUN_DEPENDS+=3D=09${LINUXBASE}/usr/libGLU.so.1:${PORTSDIR}/graphics/linux_= mesa3 +.endif RESTRICTED=3D=09"no distribution permitted" NO_CDROM=3D=09${RESTRICTED} -NO_BUILD=3D=09yes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/${PORTNAME}lx SUB_FILES=3D=09pkg-message @@ -44,10 +45,6 @@ PROGRAM=3D=09${PORTNAME} .endif -# Linux binary should not be stripped by INSTALL_PROGRAM -# because as a side effect it brands the binary as FreeBSD. -STRIP=3D - .ifndef(INSTALL_DYNLINKED_VERSION) pre-everything:: =09@${ECHO_MSG} 'Define INSTALL_DYNLINKED_VERSION=3Dyes to install' @@ -56,6 +53,9 @@ =09@${ECHO_MSG} 'It may be useful with hardware accellerated MesaGL' =09@${ECHO_MSG} '' .endif + +do-build: +=09${BRANDELF} -t Linux ${WRKSRC}/${PROGRAM} pre-install: # Generate startup script diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/graphics/linux-bmrt/Makefile devel_ports/graphics/linux-bmrt/M= akefile --- ports/graphics/linux-bmrt/Makefile=09Tue Mar 1 22:51:35 2005 +++ devel_ports/graphics/linux-bmrt/Makefile=09Thu Apr 7 17:17:47 2005 @@ -21,10 +21,7 @@ NO_BUILD=3D=09yes ONLY_FOR_ARCHS=3D=09i386 NO_CDROM=3D=09"See the License" - -# Linux binary should not be stripped by INSTALL_PROGRAM as it uses -# /usr/bin/strip which then brands the binary as a FreeBSD ELF one. -STRIP=3D +USE_LINUX=3D=09yes .include @@ -69,7 +66,7 @@ .endfor .for i in ${PROGRAM} =09${INSTALL_PROGRAM} ${WRKSRC}/bin/${i} ${PREFIX}/bin -=09/usr/bin/brandelf -t Linux ${PREFIX}/bin/${i} +=09${BRANDELF} -t Linux ${PREFIX}/bin/${i} .endfor post-install: diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/graphics/linux-gdk-pixbuf/Makefile devel_ports/graphics/linux-= gdk-pixbuf/Makefile --- ports/graphics/linux-gdk-pixbuf/Makefile=09Mon Apr 11 10:02:39 2005 +++ devel_ports/graphics/linux-gdk-pixbuf/Makefile=09Mon Apr 11 14:20:03 20= 05 @@ -24,11 +24,10 @@ CONFLICTS=3D=09linux-gtk2* USE_LINUX_PREFIX=3Dyes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 DIST_SUBDIR=3D=09rpm NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3Dyes PLIST_SUB=3D=09VERSION=3D${PORTVERSION:C/^([^\.]+\.[^\.]+\.[^\.]+).+/\1/} # Set the version of Fedora Core diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/graphics/linux-libmng/Makefile devel_ports/graphics/linux-libm= ng/Makefile --- ports/graphics/linux-libmng/Makefile=09Mon Apr 11 10:02:40 2005 +++ devel_ports/graphics/linux-libmng/Makefile=09Mon Apr 11 14:24:33 2005 @@ -22,13 +22,12 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/l= inux-jpeg BASEVERSION=3D=098.0 -USE_LINUX_RPM=3D=09yes +USE_LINUX=3D=09yes USE_LINUX_PREFIX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 DIST_SUBDIR=3D=09rpm -NO_BUILD=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes +NO_BUILD=3D=09yes PLIST?=3D=09=09${PKGDIR}/pkg-plist.${ARCH} MD5_FILE?=3D=09${MASTERDIR}/distinfo.${ARCH} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/graphics/linux-panorama-tools/Makefile devel_ports/graphics/li= nux-panorama-tools/Makefile --- ports/graphics/linux-panorama-tools/Makefile=09Sat Mar 26 21:02:26 2005 +++ devel_ports/graphics/linux-panorama-tools/Makefile=09Thu Apr 7 15:53:2= 8 2005 @@ -29,6 +29,7 @@ BROKEN=3D=09=09Broken dependency NO_BUILD=3D=09yes +USE_LINUX=3D=09yes WRKSRC=3D=09${WRKDIR}/PTLinux PROGRAM=3D=09Helpers/PTStitcher diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/graphics/linux-sdl_image/Makefile devel_ports/graphics/linux-s= dl_image/Makefile --- ports/graphics/linux-sdl_image/Makefile=09Mon Apr 11 10:02:42 2005 +++ devel_ports/graphics/linux-sdl_image/Makefile=09Mon Apr 11 14:20:03 200= 5 @@ -21,13 +21,13 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/li= nux-sdl12 BUILD_DEPENDS=3D=09rpm:${PORTSDIR}/archivers/rpm +USE_LINUX=3D=09=09yes USE_LINUX_PREFIX=3D=09yes LDCONFIG_LINUX=3D=09${LINUXBASE}/sbin/ldconfig ONLY_FOR_ARCHS=3D=09i386 DIST_SUBDIR=3D=09rpm NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3D=09yes DBPATH=3D=09=09/var/lib/rpm RPMFLAGS=3D=09--ignoreos --root ${PREFIX} --dbpath ${DBPATH} \ diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/graphics/linux_dri/Makefile devel_ports/graphics/linux_dri/Mak= efile --- ports/graphics/linux_dri/Makefile=09Tue Mar 1 22:51:36 2005 +++ devel_ports/graphics/linux_dri/Makefile=09Thu Apr 7 17:19:22 2005 @@ -20,19 +20,17 @@ MAINTAINER=3D=09freebsd-emulation@FreeBSD.org COMMENT=3D=09Binary Linux DRI libraries for 3D hardware acceleration of li= nux apps -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/li= nux-XFree86-libs - WRKSRC=3D=09=09${WRKDIR}/lib NO_BUILD=3D=09yes +USE_LINUX=3D=09yes USE_LINUX_PREFIX=3D=09yes +USE_XLIB=3D=09yes ONLY_FOR_ARCHS=3D=09i386 MODULELIST=3D=09gamma_dri.so i810_dri.so i830_dri.so mga_dri.so r128_dri.s= o \ =09=09r200_dri.so radeon_dri.so tdfx_dri.so LDCONFIG_LINUX=3D=09${LINUXBASE}/sbin/ldconfig -NO_FILTER_SHLIBS=3D=09yes -STRIP=3D do-install: =09${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri @@ -49,7 +47,9 @@ =09${LN} -sf libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib/libglide3-v5.so =09${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/libglut.so.3.7.0 ${PREFIX}= /usr/X11R6/lib =09${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/gears ${PREFIX}/usr/X11R6/= bin +=09${BRANDELF} -t Linux ${PREFIX}/usr/X11R6/bin/gears =09${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R= 6/bin +=09${BRANDELF} -t Linux ${PREFIX}/usr/X11R6/bin/glxinfo post-install: =09@${LDCONFIG_LINUX} ${PREFIX}/usr/X11R6/lib diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/graphics/linux_glide/Makefile devel_ports/graphics/linux_glide= /Makefile --- ports/graphics/linux_glide/Makefile=09Tue Mar 1 22:51:36 2005 +++ devel_ports/graphics/linux_glide/Makefile=09Thu Apr 7 15:52:09 2005 @@ -22,7 +22,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_LINUX_PREFIX=3Dyes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_MTREE=3D=09yes NO_BUILD=3D=09yes WRKSRC=3D=09=09${WRKDIR}/Glide2.4 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/japanese/slimeforest/Makefile devel_ports/japanese/slimeforest= /Makefile --- ports/japanese/slimeforest/Makefile=09Thu Mar 3 08:59:29 2005 +++ devel_ports/japanese/slimeforest/Makefile=09Thu Apr 7 15:53:59 2005 @@ -18,6 +18,7 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0:${PORTSDIR}/gr= aphics/linux-sdl_image NO_BUILD=3D=09yes +USE_LINUX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/slimeforest FIND_DIRS=3D=09=09-type d \! -empty diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-blackdown-jdk12/Makefile devel_ports/java/linux-bla= ckdown-jdk12/Makefile --- ports/java/linux-blackdown-jdk12/Makefile=09Tue Mar 1 22:51:37 2005 +++ devel_ports/java/linux-blackdown-jdk12/Makefile=09Thu Apr 7 15:54:21 2= 005 @@ -28,6 +28,7 @@ ONLY_FOR_ARCHS=3D=09i386 amd64 USE_BZIP2=3D=09YES +USE_LINUX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/${PORTNAME}${PORTVERSION} NO_BUILD=3D=09YES APP_HOME?=3D=09${PREFIX}/${PKGBASE}${PORTVERSION} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-blackdown-jdk13/Makefile devel_ports/java/linux-bla= ckdown-jdk13/Makefile --- ports/java/linux-blackdown-jdk13/Makefile=09Tue Mar 1 22:51:37 2005 +++ devel_ports/java/linux-blackdown-jdk13/Makefile=09Thu Apr 7 15:54:51 2= 005 @@ -28,6 +28,7 @@ PLIST_SUB+=3D=09T=3D${APP_HOME:S/^${PREFIX}\///} NO_BUILD=3D=09yes +USE_LINUX=3D=09yes LATEST_LINK=3D=09linux-blackdown-jdk13 ONLY_FOR_ARCHS=3D=09i386 amd64 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-blackdown-jdk14/Makefile devel_ports/java/linux-bla= ckdown-jdk14/Makefile --- ports/java/linux-blackdown-jdk14/Makefile=09Tue Mar 1 22:51:37 2005 +++ devel_ports/java/linux-blackdown-jdk14/Makefile=09Thu Apr 7 15:55:13 2= 005 @@ -25,6 +25,7 @@ EXTRACT_BEFORE_ARGS=3D=09+564 EXTRACT_AFTER_ARGS=3D=09| ${BZIP2_CMD} -dc | ${TAR} xf - USE_BZIP2=3D=09yes +USE_LINUX=3D=09yes LATEST_LINK=3D=09linux-blackdown-jdk14 WRKSRC=3D=09=09${WRKDIR}/j2sdk${PORTVERSION} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-blackdown-jre11/Makefile devel_ports/java/linux-bla= ckdown-jre11/Makefile --- ports/java/linux-blackdown-jre11/Makefile=09Tue Mar 1 22:51:37 2005 +++ devel_ports/java/linux-blackdown-jre11/Makefile=09Thu Apr 7 15:56:42 2= 005 @@ -29,6 +29,7 @@ ONLY_FOR_ARCHS=3D=09i386 amd64 USE_BZIP2=3D=09YES +USE_LINUX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/jre118_v3 JRE_VERSION=3D=091.1.8 PLIST_SUB+=3D=09JRE_VERSION=3D${JRE_VERSION} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-ibm-jdk13/Makefile devel_ports/java/linux-ibm-jdk13= /Makefile --- ports/java/linux-ibm-jdk13/Makefile=09Tue Mar 1 22:51:37 2005 +++ devel_ports/java/linux-ibm-jdk13/Makefile=09Thu Apr 7 17:20:49 2005 @@ -26,6 +26,7 @@ PLIST_SUB+=3D=09T=3D${APP_HOME:S/^${PREFIX}\///} NO_BUILD=3D=09yes +USE_LINUX=3D=09yes JDK_VERSION=3D=091.3.1 LATEST_LINK=3D=09linux-ibm-jdk13 ONLY_FOR_ARCHS=3D=09i386 amd64 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-ibm-jdk14/Makefile devel_ports/java/linux-ibm-jdk14= /Makefile --- ports/java/linux-ibm-jdk14/Makefile=09Tue Mar 1 22:51:37 2005 +++ devel_ports/java/linux-ibm-jdk14/Makefile=09Thu Apr 7 15:55:52 2005 @@ -28,6 +28,7 @@ NO_BUILD=3D=09yes USE_REINPLACE=3D=09yes +USE_LINUX=3D=09yes JDK_VERSION=3D=091.4.2 ONLY_FOR_ARCHS=3D=09i386 amd64 APP_HOME?=3D=09${PREFIX}/${PKGBASE}${PORTVERSION} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-sun-jdk12/Makefile devel_ports/java/linux-sun-jdk12= /Makefile --- ports/java/linux-sun-jdk12/Makefile=09Tue Mar 1 22:51:38 2005 +++ devel_ports/java/linux-sun-jdk12/Makefile=09Thu Apr 7 15:56:04 2005 @@ -24,6 +24,7 @@ LATEST_LINK=3D=09linux-sun-jdk12 NO_BUILD=3D=09yes +USE_LINUX=3D=09yes JDK_VERSION=3D=091.2.2.017 ONLY_FOR_ARCHS=3D=09i386 amd64 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-sun-jdk13/Makefile devel_ports/java/linux-sun-jdk13= /Makefile --- ports/java/linux-sun-jdk13/Makefile=09Tue Mar 1 22:51:38 2005 +++ devel_ports/java/linux-sun-jdk13/Makefile=09Thu Apr 7 15:56:14 2005 @@ -30,6 +30,7 @@ =09=09JDK_VERSION=3D${JDK_VERSION} NO_BUILD=3D=09yes +USE_LINUX=3D=09yes JDK_VERSION=3D=091.3.1 JDK_REVISION=3D=0914 ONLY_FOR_ARCHS=3D=09i386 amd64 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-sun-jdk14/Makefile devel_ports/java/linux-sun-jdk14= /Makefile --- ports/java/linux-sun-jdk14/Makefile=09Tue Mar 1 22:51:38 2005 +++ devel_ports/java/linux-sun-jdk14/Makefile=09Thu Apr 7 15:56:30 2005 @@ -30,6 +30,7 @@ PKGINSTALL=3D=09${WRKDIR}/pkg-install NO_BUILD=3D=09yes +USE_LINUX=3D=09yes JDK_VERSION=3D=091.4.2 JDK_REVISION=3D=0907 DL_JDK_VERSION=3D=09${JDK_VERSION}_${JDK_REVISION} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/java/linux-sun-jdk15/Makefile devel_ports/java/linux-sun-jdk15= /Makefile --- ports/java/linux-sun-jdk15/Makefile=09Mon Apr 4 21:55:10 2005 +++ devel_ports/java/linux-sun-jdk15/Makefile=09Thu Apr 7 15:56:53 2005 @@ -30,6 +30,7 @@ PKGINSTALL=3D=09${WRKDIR}/pkg-install NO_BUILD=3D=09yes +USE_LINUX=3D=09yes JDK_VERSION=3D=091.5.0 JDK_REVISION=3D=0902 DL_JDK_VERSION=3D=09${JDK_VERSION}_${JDK_REVISION} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/korean/linux_locale/Makefile devel_ports/korean/linux_locale/M= akefile --- ports/korean/linux_locale/Makefile=09Tue Mar 1 22:51:38 2005 +++ devel_ports/korean/linux_locale/Makefile=09Thu Apr 7 17:21:16 2005 @@ -19,13 +19,11 @@ ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=098=09# BUILD_DEPENDS is hardcoded, so we hardcode here too USE_LINUX_PREFIX=3Dyes -USE_LINUX?=3D=09yes -NO_MTREE=3D=09yes NO_BUILD=3D=09yes EXTRACT_ONLY=3D=09# empty NO_WRKSUBDIR=3D=09yes -NO_FILTER_SHLIBS=3D=09yes do-install: =09@zcat ${DISTDIR}/${DISTNAME}.tar.gz |(cd ${PREFIX}; ${PAX} -r) diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/lang/compaq-cc/Makefile devel_ports/lang/compaq-cc/Makefile --- ports/lang/compaq-cc/Makefile=09Tue Mar 1 22:51:39 2005 +++ devel_ports/lang/compaq-cc/Makefile=09Thu Apr 7 17:21:30 2005 @@ -40,9 +40,7 @@ EXTRACT_ONLY=3D NO_WRKSUBDIR=3D=09=09yes NO_BUILD=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes -NO_MTREE=3D=09=09yes -USE_LINUX?=3D=09=09yes +USE_LINUX=3D=09=097 .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/lang/freetxl/Makefile devel_ports/lang/freetxl/Makefile --- ports/lang/freetxl/Makefile=09Tue Mar 1 22:51:39 2005 +++ devel_ports/lang/freetxl/Makefile=09Thu Apr 7 17:27:02 2005 @@ -14,14 +14,18 @@ MAINTAINER=3D=09ryan@sasknow.com COMMENT=3D=09The TXL Programming Language (transformation by example) -USE_LINUX?=3D=09yes -STRIP=3D -NO_BUILD=3D=09yes +USE_LINUX=3D=09yes MAN1=3D=09=09txl.1 txlc.1 txldb.1 txlp.1 PORTDOCS=3D=0900README.txt COPYRIGHT.txt Documents.html Examples.html \ =09=09FILES.txt Learning.html Support.html + +do-build: +=09${BRANDELF} -t Linux ${WRKSRC}/bin/txl \ + ${WRKSRC}/bin/txlc \ + ${WRKSRC}/bin/txldb \ + ${WRKSRC}/bin/txlp do-install: =09${INSTALL_PROGRAM} \ diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/lang/icc/Makefile devel_ports/lang/icc/Makefile --- ports/lang/icc/Makefile=09Sun Mar 6 16:08:25 2005 +++ devel_ports/lang/icc/Makefile=09Thu Apr 7 17:24:41 2005 @@ -18,7 +18,7 @@ DISTFILES=3D=09${DISTNAME}${EXTRACT_SUFX} .if ${PORTVERSION} !=3D ${PATCHLEVEL} DISTFILES+=3D=09${DISTNAME}_${PATCHLEVEL}${EXTRACT_SUFX} -PATCH_DEPENDS=3D=09=09${LINUXBASE}/lib/libc-2.3.2.so:${PORTSDIR}/emulators= /linux_base-8 +PATCH_DEPENDS=3D=09=09${DEFAULT_LINUX_BASE} .endif EXTRACT_DEPENDS=3D=09rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio @@ -30,9 +30,8 @@ ONLY_FOR_ARCHS=3D=09=09i386 CONFLICTS=3D=09=09linux_devtools* -USE_LINUX?=3D=09=09yes +USE_LINUX=3D=09=09yes USE_REINPLACE=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes COMPILERDIR=3D=09intel_cc_80 PLIST_SUB=3D=09COMPILERDIR=3D${COMPILERDIR} @@ -219,7 +218,8 @@ =09@${CC} ${CFLAGS} -o \ =09=09${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld \ =09=09${FILESDIR}/ld.c -=09@${STRIP_CMD} ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld +# We can't use STRIP_CMD, since we need the FreeBSD one, not the Linux one= . +=09@/usr/bin/strip ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld =09@${CHMOD} 755 ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld # Make ICC happy with regards to crtbegin.o, crtend.o and libgcc.a which i= t # expects to find in GXX_ROOT. diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/lang/icc7/Makefile devel_ports/lang/icc7/Makefile --- ports/lang/icc7/Makefile=09Tue Mar 1 22:51:39 2005 +++ devel_ports/lang/icc7/Makefile=09Thu Apr 7 17:28:08 2005 @@ -25,10 +25,9 @@ ONLY_FOR_ARCHS=3D=09=09i386 CONFLICTS=3D=09=09linux_devtools* ifc* -USE_LINUX?=3D=09=09yes +USE_LINUX=3D=09=09yes USE_REINPLACE=3D=09=09yes NO_WRKSUBDIR=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes COMPILERDIR=3D=09compiler70 PLIST_SUB=3D=09COMPILERDIR=3D${COMPILERDIR} @@ -160,7 +159,8 @@ =09@${CC} ${CFLAGS} -o \ =09=09${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld \ =09=09${FILESDIR}/ld.c -=09@${STRIP_CMD} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld +# We can't use STRIP_CMD, since we need the FreeBSD one, not the Linux one= . +=09@/usr/bin/strip ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/l= d =09@${CHMOD} 755 ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld do-install: diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/lang/ifc/Makefile devel_ports/lang/ifc/Makefile --- ports/lang/ifc/Makefile=09Tue Mar 1 22:51:39 2005 +++ devel_ports/lang/ifc/Makefile=09Thu Apr 7 17:25:53 2005 @@ -18,8 +18,7 @@ DISTFILES=3D=09${DISTNAME}${EXTRACT_SUFX} .if ${PORTVERSION} !=3D ${PATCHLEVEL} DISTFILES+=3D=09${DISTNAME}_${PATCHLEVEL}${EXTRACT_SUFX} -#PATCH_DEPENDS=3D=09=09${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulato= rs/linux_base -PATCH_DEPENDS=3D=09=09${LINUXBASE}/lib/libc-2.3.2.so:${PORTSDIR}/emulators= /linux_base-8 +PATCH_DEPENDS=3D=09=09${DEFAULT_LINUX_BASE} .endif EXTRACT_DEPENDS=3D=09rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio @@ -31,7 +30,7 @@ ONLY_FOR_ARCHS=3D=09=09i386 CONFLICTS=3D=09=09linux_devtools* -USE_LINUX?=3D=09=09yes +USE_LINUX=3D=09=09yes USE_REINPLACE=3D=09=09yes NO_FILTER_SHLIBS=3D=09yes @@ -192,7 +191,8 @@ =09@${CC} ${CFLAGS} -o \ =09=09${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld \ =09=09${FILESDIR}/ld.c -=09@${STRIP_CMD} ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld +# We can't use STRIP_CMD, since we need the FreeBSD one, not the Linux one= . +=09@/usr/bin/strip ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld =09@${CHMOD} 755 ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld do-install: diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/lang/ifc7/Makefile devel_ports/lang/ifc7/Makefile --- ports/lang/ifc7/Makefile=09Tue Mar 1 22:51:39 2005 +++ devel_ports/lang/ifc7/Makefile=09Thu Apr 7 17:28:52 2005 @@ -24,10 +24,9 @@ ONLY_FOR_ARCHS=3D=09=09i386 -USE_LINUX?=3D=09=09yes +USE_LINUX=3D=09=09yes USE_REINPLACE=3D=09=09yes NO_WRKSUBDIR=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes COMPILERDIR=3D=09compiler70 PLIST_SUB=3D=09COMPILERDIR=3D${COMPILERDIR} @@ -158,7 +157,8 @@ =09@${CC} ${CFLAGS} -o \ =09=09${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld \ =09=09${FILESDIR}/ld.c -=09@${STRIP_CMD} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld +# We can't use STRIP_CMD, since we need the FreeBSD one, not the Linux one= . +=09@/usr/bin/strip ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/l= d =09@${CHMOD} 755 ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld do-install: diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/lang/linux-j/Makefile devel_ports/lang/linux-j/Makefile --- ports/lang/linux-j/Makefile=09Fri Apr 8 20:50:42 2005 +++ devel_ports/lang/linux-j/Makefile=09Sun Apr 10 15:34:54 2005 @@ -18,7 +18,7 @@ BROKEN=3D=09=09Unfetchable -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes USE_JAVA=3D=091.3+ ONLY_FOR_ARCHS=3D i386 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/lang/visualworks/Makefile devel_ports/lang/visualworks/Makefil= e --- ports/lang/visualworks/Makefile=09Tue Mar 1 22:51:40 2005 +++ devel_ports/lang/visualworks/Makefile=09Thu Apr 7 15:59:53 2005 @@ -18,7 +18,7 @@ MAINTAINER=3D=09=09chris@chrisburkert.de COMMENT=3D=09=09A high performance Smalltalk environment -USE_LINUX?=3D=09=09yes +USE_LINUX=3D=09=09yes ONLY_FOR_ARCHS=3D=09=09i386 NO_BUILD=3D=09=09yes PLIST_FILES=3D=09=09bin/visual diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/mail/mulberry/Makefile devel_ports/mail/mulberry/Makefile --- ports/mail/mulberry/Makefile=09Tue Mar 1 22:51:40 2005 +++ devel_ports/mail/mulberry/Makefile=09Thu Apr 7 16:00:28 2005 @@ -22,6 +22,7 @@ NO_BUILD=3D=09yes NO_WRKSUBDIR=3D=09yes +USE_LINUX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/math/linux-dislin/Makefile devel_ports/math/linux-dislin/Makef= ile --- ports/math/linux-dislin/Makefile=09Mon Apr 11 10:03:18 2005 +++ devel_ports/math/linux-dislin/Makefile=09Mon Apr 11 14:20:07 2005 @@ -17,13 +17,12 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09A scientific data plotting package -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - BROKEN=3D=09=09Unfetchable ONLY_FOR_ARCHS=3D=09i386 alpha +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes NO_BUILD=3D=09yes -INSTALLS_SHLIB=3D=09yes LDCONFIG_DIRS=3D=09${DISLIN_DIR}/lib MD5_FILE=3D=09${MASTERDIR}/distinfo.${ARCH} @@ -38,6 +37,8 @@ =09 <${FILESDIR}/dislin-wrapper.sh >${WRKDIR}/dislin.sh =09${SED} -e 's,%%DISLIN_DIR%%,${DISLIN_DIR},' \ =09 <${FILESDIR}/pkg-message >${WRKDIR}/pkg-message + +# XXX: this is missing "${BRANDELF} -t Linux " do-install: =09(cd ${WRKSRC} && ${ENV} DISLIN=3D${DISLIN_DIR} ${SH} INSTALL) diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/math/linux-relview/Makefile devel_ports/math/linux-relview/Mak= efile --- ports/math/linux-relview/Makefile=09Tue Mar 1 22:51:40 2005 +++ devel_ports/math/linux-relview/Makefile=09Thu Apr 7 17:29:21 2005 @@ -19,6 +19,8 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-tool= kits/linux-gtk ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes NO_WRKSUBDIR=3D=09yes EXTRACT_AFTER_ARGS=3D=09> ${DISTNAME} @@ -26,10 +28,6 @@ NO_BUILD=3D=09yes PLIST_SUB=3D=09VERSION=3D${PORTVERSION} - -# Linux binary should not be stripped by INSTALL_PROGRAM -# because as a side effect it brands the binary as FreeBSD. -STRIP=3D=09# empty do-install: =09${BRANDELF} -t Linux ${WRKDIR}/${DISTNAME} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/math/mupad/Makefile devel_ports/math/mupad/Makefile --- ports/math/mupad/Makefile=09Sat Mar 19 16:19:58 2005 +++ devel_ports/math/mupad/Makefile=09Thu Apr 7 17:30:49 2005 @@ -20,11 +20,9 @@ NO_CDROM=3D=09"unsure to sell for profit" -USE_LINUX?=3D=09=09yes +USE_LINUX=3D=09=09yes ONLY_FOR_ARCHS=3D=09=09i386 -INSTALLS_SHLIB=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes NO_WRKSUBDIR=3D=09=09yes MAN1=3D=09=09mmg.1 mmgd.1 mupad.1 xmupad.1 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/math/wingz/Makefile devel_ports/math/wingz/Makefile --- ports/math/wingz/Makefile=09Tue Mar 1 22:51:41 2005 +++ devel_ports/math/wingz/Makefile=09Thu Apr 7 17:31:52 2005 @@ -16,12 +16,13 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09A Commercial Spreadsheet -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes NO_WRKSUBDIR=3D=09yes -USE_X_PREFIX=3D=09yes + +# XXX: this is missing "${BRANDELF} -t Linux " post-install: =09@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/math/wingz3/Makefile devel_ports/math/wingz3/Makefile --- ports/math/wingz3/Makefile=09Tue Mar 1 22:51:41 2005 +++ devel_ports/math/wingz3/Makefile=09Thu Apr 7 17:32:55 2005 @@ -15,13 +15,12 @@ MAINTAINER=3D=09mi@aldan.algebra.com COMMENT=3D=09A Commercial Spreadsheet -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - NO_PACKAGE=3D=09"nothing to build. commercial software" ONLY_FOR_ARCHS=3D=09i386 - +USE_LINUX=3D=09yes USE_X_PREFIX=3D=09yes + NO_BUILD=3D=09yes do-fetch: @@ -32,6 +31,8 @@ =09#=09http://www.wingz-us.com/iisg_main/downloads.html =09# download the ${DISTFILES} and save it to ${DISTDIR}. =09# + +# XXX: this is missing "${BRANDELF} -t Linux " do-install: =09${TAR} -xzp -C ${X11BASE} -f ${DISTDIR}/${DISTFILES} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/misc/ftree/Makefile devel_ports/misc/ftree/Makefile --- ports/misc/ftree/Makefile=09Tue Mar 1 22:51:41 2005 +++ devel_ports/misc/ftree/Makefile=09Thu Apr 7 17:35:18 2005 @@ -17,23 +17,18 @@ MAINTAINER=3D=09user@unknown.nu COMMENT=3D=09An X11 genealogy program -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - -USE_X_PREFIX=3D=09yes - ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes NO_CDROM=3D=09Non-commercial use only RESTRICTED=3D=09Non-commercial use only WRKSRC=3D=09=09${WRKDIR}/usr MAN1=3D=09=09ftree.1 -STRIP=3D=09=09# empty: do not strip linux binary! - -do-patch: -do-configure: do-build: =09${BRANDELF} -t Linux ${WRKSRC}/bin/ftree + do-install: =09${INSTALL_PROGRAM} ${WRKSRC}/bin/ftree ${PREFIX}/bin =09${INSTALL_MAN} ${WRKSRC}/share/man/man1/ftree.1 ${PREFIX}/man/man1 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/misc/linux-edonkey-tool-list/Makefile devel_ports/misc/linux-e= donkey-tool-list/Makefile --- ports/misc/linux-edonkey-tool-list/Makefile=09Sun Mar 13 02:18:38 2005 +++ devel_ports/misc/linux-edonkey-tool-list/Makefile=09Thu Apr 7 17:35:40= 2005 @@ -20,19 +20,10 @@ COMMENT=3D=09Creates a web page with ed2k:// links to all your shared file= s ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes PLIST_FILES=3D=09bin/edonkey-tool-list -STRIP=3D - -STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip - -.if exists(/usr/bin/brandelf) -BRANDELF?=3D=09/usr/bin/brandelf -.else -BRANDELF?=3D=09brandelf -.endif BINARY_NAME=3D=09${PORTNAME}${PKGNAMESUFFIX} @@ -45,9 +36,7 @@ .include pre-install: -.if exists(${STRIP_CMD}) =09@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} -.endif =09@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/misc/linux-edonkey-tool-recovermet/Makefile devel_ports/misc/l= inux-edonkey-tool-recovermet/Makefile --- ports/misc/linux-edonkey-tool-recovermet/Makefile=09Sun Mar 13 02:18:38= 2005 +++ devel_ports/misc/linux-edonkey-tool-recovermet/Makefile=09Thu Apr 7 17= :35:55 2005 @@ -20,19 +20,10 @@ COMMENT=3D=09Tool that tries to re-create x.part.met files compromised due= to crash ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes PLIST_FILES=3D=09bin/edonkey-tool-recovermet -STRIP=3D - -STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip - -.if exists(/usr/bin/brandelf) -BRANDELF?=3D=09/usr/bin/brandelf -.else -BRANDELF?=3D=09brandelf -.endif BINARY_NAME=3D=09${PORTNAME}${PKGNAMESUFFIX} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/misc/linux-opengroupware/Makefile devel_ports/misc/linux-openg= roupware/Makefile --- ports/misc/linux-opengroupware/Makefile=09Mon Apr 11 10:03:23 2005 +++ devel_ports/misc/linux-opengroupware/Makefile=09Mon Apr 11 14:20:07 200= 5 @@ -22,7 +22,7 @@ COMMENT=3D=09Groupware package including mail, calendar, palm sync and muc= h more EXTRACT_DEPENDS=3D=09rpm2cpio:${PORTSDIR}/archivers/rpm -INSTALL_DEPENDS=3D=09${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 \ +RUN_DEPENDS=3D=09${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 \ =09=09${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7 \ =09=09${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 \ =09=09${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake @@ -105,7 +105,7 @@ NGOBJWEB_ADAPTOR=3D opengroupware.org-mod_ngobjweb-200407092000.tar.gz PATCHDIR?=3D=09${MASTERDIR}/files -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes USE_GMAKE=3D=09yes MAKEFILE=3D=09${WRKSRC}/opengroupware.org-mod_ngobjweb/GNUmakefile BUILD_WRKSRC?=3D=09${WRKSRC}/opengroupware.org-mod_ngobjweb diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/misc/opencyc/Makefile devel_ports/misc/opencyc/Makefile --- ports/misc/opencyc/Makefile=09Tue Mar 1 22:51:42 2005 +++ devel_ports/misc/opencyc/Makefile=09Thu Apr 7 16:02:37 2005 @@ -19,6 +19,7 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs NO_BUILD=3D=09yes +USE_LINUX=3D=09yes PLIST_SUB=3D=09PORTVERSION=3D"${PORTVERSION}" diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/multimedia/linux-divx4linux/Makefile devel_ports/multimedia/li= nux-divx4linux/Makefile --- ports/multimedia/linux-divx4linux/Makefile=09Tue Mar 1 22:51:42 2005 +++ devel_ports/multimedia/linux-divx4linux/Makefile=09Thu Apr 7 16:03:24 = 2005 @@ -21,7 +21,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_REINPLACE=3D=09yes USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes WRKSRC=3D=09${WRKDIR}/${PORTNAME}-${RELEASE_DATE} NO_BUILD=3D=09yes PLIST_SUB=3D=09PKGNAME=3D"${PKGNAME}" diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/multimedia/linux-divx4linux4/Makefile devel_ports/multimedia/l= inux-divx4linux4/Makefile --- ports/multimedia/linux-divx4linux4/Makefile=09Tue Mar 1 22:51:42 2005 +++ devel_ports/multimedia/linux-divx4linux4/Makefile=09Thu Apr 7 16:03:30= 2005 @@ -21,7 +21,7 @@ ONLY_FOR_ARCHS=3D=09i386 USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes USE_REINPLACE=3D=09yes WRKSRC=3D=09${WRKDIR}/${DISTNAME:C/_.+$//} NO_BUILD=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/multimedia/linux-realplayer/Makefile devel_ports/multimedia/li= nux-realplayer/Makefile --- ports/multimedia/linux-realplayer/Makefile=09Sun Mar 20 23:18:14 2005 +++ devel_ports/multimedia/linux-realplayer/Makefile=09Thu Apr 7 17:37:03 = 2005 @@ -21,12 +21,9 @@ WRKSRC=3D=09=09${WRKDIR}/usr/local/RealPlayer ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes RESTRICTED=3D=09"Redistribution not allowed" NO_BUILD=3D=09yes - -# Linux binary should not be stripped by INSTALL_PROGRAM -# because as a side effect it brands the binary as FreeBSD. -STRIP=3D RADIR=3D=09=09${PREFIX}/lib/RealPlayer PLUGINSDIR=3D=09${PREFIX}/lib/linux-mozilla/plugins diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/multimedia/linux-xmovie/Makefile devel_ports/multimedia/linux-= xmovie/Makefile --- ports/multimedia/linux-xmovie/Makefile=09Tue Mar 1 22:51:43 2005 +++ devel_ports/multimedia/linux-xmovie/Makefile=09Thu Apr 7 17:37:25 2005 @@ -19,22 +19,16 @@ COMMENT=3D=09A movie player for AVI, MPEG-2/4 and MOV movies EXTRACT_DEPENDS=3Drpm2cpio:${PORTSDIR}/archivers/rpm -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes EXTRACT_CMD=3D=09rpm2cpio EXTRACT_BEFORE_ARGS=3D EXTRACT_AFTER_ARGS=3D | ${CPIO} -id --quiet NO_BUILD=3D=09yes PLIST_FILES=3D=09bin/xmovie -USE_X_PREFIX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/usr/bin - -BRANDELF?=3D=09/usr/bin/brandelf - -# Linux binary should not be stripped by INSTALL_PROGRAM as it uses -# /usr/bin/strip which then brands the binary as a FreeBSD ELF one. -STRIP=3D pre-install: =09@${BRANDELF} -t Linux ${WRKSRC}/${PORTNAME} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/multimedia/mtv/Makefile devel_ports/multimedia/mtv/Makefile --- ports/multimedia/mtv/Makefile=09Tue Mar 1 22:51:43 2005 +++ devel_ports/multimedia/mtv/Makefile=09Thu Apr 7 17:39:04 2005 @@ -15,18 +15,19 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09High-performance MPEG video player (shareware) -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/li= nux-XFree86-libs - EXTRACT_ONLY=3D=09${PORTNAME}-${PORTVERSION}.tar.gz NO_PACKAGE=3D=09"No redistribution" NO_CDROM=3D=09"No redistribution" -NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3Dyes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/mtv MAN1=3D=09mtv.1 +do-build: +=09${BRANDELF} -t Linux ${WRKSRC}/mtv ${WRKSRC}/mtvp + do-install: =09@${MKDIR} ${WRKDIR}/libSDLx11 =09@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/libSDLx11.so.tar.gz \ @@ -34,8 +35,8 @@ =09${INSTALL_DATA} ${WRKDIR}/libSDLx11/libSDLx11.so.0.9.9 \ =09=09${LINUXBASE}/usr/X11R6/lib =09${LINUXBASE}/sbin/ldconfig -=09${INSTALL_SCRIPT} ${WRKSRC}/mtv ${PREFIX}/bin -=09${INSTALL_SCRIPT} ${WRKSRC}/mtvp ${PREFIX}/bin +=09${INSTALL_PROGRAM} ${WRKSRC}/mtv ${PREFIX}/bin +=09${INSTALL_PROGRAM} ${WRKSRC}/mtvp ${PREFIX}/bin =09${INSTALL_MAN} ${WRKSRC}/mtv.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) =09@${MKDIR} ${PREFIX}/share/doc/mtv diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/multimedia/netshow/Makefile devel_ports/multimedia/netshow/Mak= efile --- ports/multimedia/netshow/Makefile=09Thu Mar 17 17:42:30 2005 +++ devel_ports/multimedia/netshow/Makefile=09Thu Apr 7 17:39:48 2005 @@ -16,16 +16,13 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09Microsoft NetShow video stream player -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - RESTRICTED=3D=09"Commercial software" BROKEN=3D=09=09Unfetchable ONLY_FOR_ARCHS=3D=09i386 -PLIST_FILES=3D=09bin/netshow - -NO_BUILD=3D=09yes +USE_LINUX=3D=09yes USE_X_PREFIX=3D=09yes +PLIST_FILES=3D=09bin/netshow pre-extract: =09@${MKDIR} ${WRKDIR} @@ -33,8 +30,8 @@ do-extract: =09${GUNZIP_CMD} < ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/netsh= ow -do-patch: -=09brandelf -t Linux ${WRKDIR}/netshow +do-build: +=09${BRANDELF} -t Linux ${WRKDIR}/netshow do-install: =09${INSTALL} -c -o bin -g bin -m 555 ${WRKDIR}/netshow ${PREFIX}/bin/nets= how diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/aim/Makefile devel_ports/net/aim/Makefile --- ports/net/aim/Makefile=09Tue Mar 1 22:51:43 2005 +++ devel_ports/net/aim/Makefile=09Thu Apr 7 17:41:08 2005 @@ -19,15 +19,14 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-tool= kits/linux-gtk ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes -PREFIX?=3D=09${X11BASE} -INSTALLS_SHLIB=3D=09yes -# must not strip -STRIP=3D do-install: =09${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/aim ${PREFIX}/libexec +=09${BRANDELF} -t Linux ${PREFIX}/libexec =09(cd ${WRKSRC}/usr/lib;exec ${TAR} --exclude aim/source -cf - *)|(cd ${P= REFIX}/lib;exec ${TAR} -xpf -) =09@${ECHO_CMD} "#!/bin/sh" >${PREFIX}/bin/aim =09@${ECHO_CMD} "ulimit -Sc 0" >>${PREFIX}/bin/aim diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/citrix_ica/Makefile devel_ports/net/citrix_ica/Makefile --- ports/net/citrix_ica/Makefile=09Tue Mar 1 22:51:43 2005 +++ devel_ports/net/citrix_ica/Makefile=09Thu Apr 7 16:05:20 2005 @@ -18,6 +18,7 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXaw.so.6:${PORTSDIR}/x11/li= nux-XFree86-libs ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes RESTRICTED=3D=09"License prohibits redistribution" IS_INTERACTIVE=3D=09"Noisy license agreement ignores stdin" diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/linux-agsatellite/Makefile devel_ports/net/linux-agsatelli= te/Makefile --- ports/net/linux-agsatellite/Makefile=09Thu Mar 10 23:10:02 2005 +++ devel_ports/net/linux-agsatellite/Makefile=09Thu Apr 7 17:41:32 2005 @@ -16,18 +16,15 @@ MAINTAINER=3D=09ports@FreeBSD.org COMMENT=3D=09Client that allows you to share your music on Audiogalaxy(TM) -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs - WRKSRC=3D=09${WRKDIR}/${DISTNAME:C/-.*//} NO_BUILD=3D=09yes USE_REINPLACE=3D=09yes -STRIP=3D +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes RESTRICTED=3D=09no response from developer on licensing issues DOCS=3D=09german_readme.txt license.txt readme.txt - -BRANDELF=3D=09/usr/bin/brandelf post-patch: =09@${REINPLACE_CMD} -e "s|=0D||;s|email|username|" ${WRKSRC}/*.txt diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/linux-edonkey-core/Makefile devel_ports/net/linux-edonkey-= core/Makefile --- ports/net/linux-edonkey-core/Makefile=09Sun Mar 13 02:21:03 2005 +++ devel_ports/net/linux-edonkey-core/Makefile=09Thu Apr 7 17:41:53 2005 @@ -19,18 +19,9 @@ COMMENT=3D=09eDonkey2000 'core' command line client ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes -STRIP=3D - -STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip - -.if exists(/usr/bin/brandelf) -BRANDELF?=3D=09/usr/bin/brandelf -.else -BRANDELF?=3D=09brandelf -.endif BINARY_NAME_OLD?=3D=09donkey${PORTVERSION} BINARY_NAME=3D=09donkey @@ -51,9 +42,7 @@ .include pre-install: -.if exists(${STRIP_CMD}) =09@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME_OLD} -.endif =09@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME_OLD} .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/linux-edonkey-server/Makefile devel_ports/net/linux-edonke= y-server/Makefile --- ports/net/linux-edonkey-server/Makefile=09Mon Apr 4 01:23:03 2005 +++ devel_ports/net/linux-edonkey-server/Makefile=09Thu Apr 7 17:42:39 200= 5 @@ -20,21 +20,12 @@ COMMENT=3D=09A decentralized peer-to-peer file-sharing server (eDonkey2000= server) ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_WRKSUBDIR=3D=09yes NO_BUILD=3D=09yes -STRIP=3D # PKGDEINSTALL=3D ${PKGINSTALL} -STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip - -.if exists(/usr/bin/brandelf) -BRANDELF?=3D=09/usr/bin/brandelf -.else -BRANDELF?=3D=09brandelf -.endif - BINARY_NAME=3D=09dserver RC_SAMPLE=3D=09edonkey2000-server.sh.sample @@ -57,9 +48,7 @@ .include pre-install: -.if exists(${STRIP_CMD}) =09@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} -.endif =09@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/linux-jigdo/Makefile devel_ports/net/linux-jigdo/Makefile --- ports/net/linux-jigdo/Makefile=09Tue Mar 1 22:51:44 2005 +++ devel_ports/net/linux-jigdo/Makefile=09Thu Apr 7 17:43:04 2005 @@ -21,9 +21,8 @@ ONLY_FOR_ARCHS=3D=09i386 USE_BZIP2=3D=09YES -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_BUILD=3D=09yes -STRIP=3D PROGRAMS=3D=09jigdo-file SCRIPTS=3D=09jigdo-lite jigdo-mirror @@ -31,7 +30,7 @@ MAN1=3D=09=09jigdo-file.1 jigdo-lite.1 jigdo-mirror.1 pre-install: -=09@brandelf -t Linux ${WRKSRC}/jigdo-file +=09@${BRANDELF} -t Linux ${WRKSRC}/jigdo-file do-install: .for i in ${PROGRAMS} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/linux-nx-client/Makefile devel_ports/net/linux-nx-client/M= akefile --- ports/net/linux-nx-client/Makefile=09Tue Mar 1 22:51:44 2005 +++ devel_ports/net/linux-nx-client/Makefile=09Thu Apr 7 17:45:23 2005 @@ -17,18 +17,15 @@ RUN_DEPENDS=3D=09=09${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphic= s/linux-jpeg NO_WRKSUBDIR=3D=09=09yes -USE_X_PREFIX=3D=09=09yes ONLY_FOR_ARCHS=3D=09=09i386 +USE_LINUX=3D=09=09yes +USE_X_PREFIX=3D=09=09yes NO_BUILD=3D=09=09yes NXSRC=3D=09=09=09${WRKSRC}/NX NXDST=3D=09=09=09${PREFIX}/lib/linux-nx-client ICONS3232=3D=09=09nx.png nxclient-admin.png nxclient-wizard.png -# Linux binary should not be stripped by INSTALL_PROGRAM -# because as a side effect it brands the binary as FreeBSD. -STRIP=3D - PLIST_SUB+=3D=09=09PORTVERSION=3D${PORTVERSION} post-extract: @@ -67,6 +64,7 @@ =09${ECHO_CMD} "export NXDIR=3D${NXDST}" >> ${WRKSRC}/${f} =09${ECHO_CMD} "exec \$$NXDIR/bin/${f} \"\$$@\"" >> ${WRKSRC}/${f} =09${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin +=09${BRANDELF} -t Linux ${NXDST}/bin/${f} .endfor .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/linux-overnet-core/Makefile devel_ports/net/linux-overnet-= core/Makefile --- ports/net/linux-overnet-core/Makefile=09Tue Mar 1 22:51:45 2005 +++ devel_ports/net/linux-overnet-core/Makefile=09Thu Apr 7 17:45:36 2005 @@ -18,10 +18,9 @@ COMMENT=3D=09Overnet 'core' command line client ONLY_FOR_ARCHS=3D=09i386 -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_BUILD=3D=09yes NO_WRKSUBDIR=3D=09yes -STRIP=3D BINARY_NAME_OLD?=3D=09${PORTNAME}clc TARGET_DIR=3D=09${PORTNAME} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/peercast/Makefile devel_ports/net/peercast/Makefile --- ports/net/peercast/Makefile=09Tue Mar 1 22:51:45 2005 +++ devel_ports/net/peercast/Makefile=09Thu Apr 7 16:07:45 2005 @@ -15,7 +15,7 @@ MAINTAINER=3D=09jylefort@brutele.be COMMENT=3D=09A peer-to-peer network for broadcasting and listening to stre= ams -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes NO_WRKSUBDIR=3D=09yes do-build: diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/net/skype/Makefile devel_ports/net/skype/Makefile --- ports/net/skype/Makefile=09Sun Mar 6 14:33:41 2005 +++ devel_ports/net/skype/Makefile=09Thu Apr 7 17:43:27 2005 @@ -16,11 +16,11 @@ COMMENT=3D=09P2P VoIP software RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-f= onts/linux-fontconfig \ -=09=09${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat = \ -=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr= ee86-libs +=09=09${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat USE_BZIP2=3D=09yes -PREFIX?=3D=09${X11BASE} +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WANT_GNOME=3D=09yes ONLY_FOR_ARCHS=3D=09i386 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/portuguese/staroffice52/Makefile devel_ports/portuguese/starof= fice52/Makefile --- ports/portuguese/staroffice52/Makefile=09Tue Mar 1 22:51:45 2005 +++ devel_ports/portuguese/staroffice52/Makefile=09Thu Apr 7 16:07:57 2005 @@ -31,6 +31,7 @@ FETCH_DEPENDS=3D=09${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_= base-8 ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes NO_CDROM=3D=09'Deve ser obtido diretamente do site da Sun via interface ww= w' CD_MOUNTPT=3D=09'/cdrom' IS_INTERACTIVE=3D=09yes diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/print/acroread/Makefile devel_ports/print/acroread/Makefile --- ports/print/acroread/Makefile=09Sun Mar 20 09:33:43 2005 +++ devel_ports/print/acroread/Makefile=09Thu Apr 7 17:46:45 2005 @@ -20,15 +20,14 @@ MAINTAINER=3D=09trevor@FreeBSD.org COMMENT=3D=09View, distribute and print PDF documents -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/li= nux-XFree86-libs - CONFLICTS=3D=09acroread7 ONLY_FOR_ARCHS=3D=09amd64 i386 USE_REINPLACE=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes NO_BUILD=3D=09yes REINPLACE_ARGS=3D=09-i '' -E -NO_FILTER_SHLIBS=3D=09yes PLIST_SUB=3D=09"ARCHDIR=3Dintellinux" WRKSRC=3D=09=09${WRKDIR}/installers diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/print/bjfiltercom/Makefile devel_ports/print/bjfiltercom/Makef= ile --- ports/print/bjfiltercom/Makefile=09Tue Mar 1 22:51:45 2005 +++ devel_ports/print/bjfiltercom/Makefile=09Thu Apr 7 17:49:24 2005 @@ -43,7 +43,7 @@ DESCR=3D=09=09${.CURDIR}/pkg-descr MD5_FILE=3D=09${.CURDIR}/distinfo ONLY_FOR_ARCHS=3D=09i386 -NO_FILTER_SHLIBS=3D=09yes +USE_LINUX=3D=09yes NO_MTREE=3D=09yes RPMREVISION=3D=091 .if defined(SLAVE_PORT) @@ -75,6 +75,8 @@ =09=09-e 's,%%PRMODEL%%,${PRMODEL},g' \ =09=09-e 's,%%PREFIX%%,${PREFIX},g' \ =09=09=09${FILESDIR}/setup > ${WRKDIR}/setup.freebsd + +# XXX: this is missing "${BRANDELF} -t Linux " do-install: =09${MKDIR} ${LINUXBASE}/usr/lib/bjlib diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/sysutils/linux-acu/Makefile devel_ports/sysutils/linux-acu/Mak= efile --- ports/sysutils/linux-acu/Makefile=09Tue Mar 1 22:51:46 2005 +++ devel_ports/sysutils/linux-acu/Makefile=09Thu Apr 7 17:50:42 2005 @@ -30,9 +30,9 @@ .endif ONLY_FOR_ARCHS=3D=09i386 -PREFIX?=3D=09${X11BASE} +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes NO_WRKSUBDIR=3D=09yes -NO_BUILD=3D=09yes NO_CDROM=3D=09"Redistribution not allowed" LINPROCFS!=3D=09/sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}' @@ -54,6 +54,9 @@ =09@${ECHO} "becauce acu needs to read ${LINUXBASE}/proc/aironet" =09@${FALSE} .endif + +do-build: +=09@${BRANDELF} -t Linux ${WRKSRC}/utilities/acu do-install: =09@${MKDIR} ${PREFIX}/bin diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/sysutils/linux-afaapps/Makefile devel_ports/sysutils/linux-afa= apps/Makefile --- ports/sysutils/linux-afaapps/Makefile=09Mon Apr 11 10:04:03 2005 +++ devel_ports/sysutils/linux-afaapps/Makefile=09Mon Apr 11 14:25:11 2005 @@ -26,12 +26,11 @@ NO_BUILD=3D=09=09yes NO_WRKSUBDIR=3D=09=09yes -USE_LINUX_PREFIX=3D=09yes -NO_MTREE=3D=09=09yes +USE_LINUX=3D=09=09yes +USE_LINUX_PREFIX=3D yes LDCONFIG_LINUX=3D=09=09${LINUXBASE}/sbin/ldconfig ONLY_FOR_ARCHS=3D=09=09i386 -NO_FILTER_SHLIBS=3D=09yes PLIST=3D=09=09=09${MASTERDIR}/pkg-plist.${ARCH} MD5_FILE=3D=09=09${MASTERDIR}/distinfo.${ARCH} @@ -43,8 +42,9 @@ do-install: =09@${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${WRKDIR}/${RPMFILE} -=09@${RM} ${LINUXBASE}/usr/sbin/afacli -=09@${MV} ${LINUXBASE}/usr/sbin/afacli.bin ${LINUXBASE}/usr/sbin/afacli +=09@${RM} ${PREFIX}/usr/sbin/afacli +=09@${MV} ${PREFIX}/usr/sbin/afacli.bin ${PREFIX}/usr/sbin/afacli +=09@${BRANDELF} -t Linux ${PREFIX}/usr/sbin/afacli =09@${LDCONFIG_LINUX} .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/textproc/linux-aspell/Makefile devel_ports/textproc/linux-aspe= ll/Makefile --- ports/textproc/linux-aspell/Makefile=09Tue Mar 1 22:51:46 2005 +++ devel_ports/textproc/linux-aspell/Makefile=09Thu Apr 7 17:52:30 2005 @@ -27,10 +27,9 @@ NO_BUILD=3D=09=09yes USE_REINPLACE=3D=09=09yes ONLY_FOR_ARCHS=3D=09=09i386 +USE_LINUX=3D=09=09yes USE_LINUX_PREFIX=3D=09yes -USE_LINUX?=3D=09=09yes USE_GMAKE=3D=09=09yes -NO_FILTER_SHLIBS=3D=09yes LDCONFIG_LINUX=3D=09=09${LINUXBASE}/sbin/ldconfig DBPATH=3D=09=09/var/lib/rpm diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/textproc/pocketreader/Makefile devel_ports/textproc/pocketread= er/Makefile --- ports/textproc/pocketreader/Makefile=09Tue Mar 1 22:51:46 2005 +++ devel_ports/textproc/pocketreader/Makefile=09Thu Apr 7 16:10:46 2005 @@ -16,14 +16,14 @@ MAINTAINER=3D=09simond@irrelevant.org COMMENT=3D=09Siemens PocketReader -USE_LINUX?=3D=09YES +USE_LINUX=3D=09YES NO_BUILD=3D=09YES PLIST_FILES=3D=09bin/pocketreader WRKSRC=3D=09=09${WRKDIR}/linux do-install: -=09brandelf -t Linux ${WRKSRC}/installfiles/pocketreader_static +=09${BRANDELF} -t Linux ${WRKSRC}/installfiles/pocketreader_static =09${CP} ${WRKSRC}/installfiles/pocketreader_static ${PREFIX}/bin/pocketre= ader .include diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/aswedit/Makefile devel_ports/www/aswedit/Makefile --- ports/www/aswedit/Makefile=09Tue Mar 1 22:51:46 2005 +++ devel_ports/www/aswedit/Makefile=09Thu Apr 7 16:11:14 2005 @@ -21,6 +21,7 @@ NO_BUILD=3D=09yes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/asWedit-4.0.1 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-beonex/Makefile devel_ports/www/linux-beonex/Makefil= e --- ports/www/linux-beonex/Makefile=09Tue Mar 1 22:51:46 2005 +++ devel_ports/www/linux-beonex/Makefile=09Thu Apr 7 17:55:56 2005 @@ -26,14 +26,13 @@ =09${LINUXBASE}/usr/lib/libpng.so.2.1.0.16:${PORTSDIR}/graphics/linux-png1= 0 \ =09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk -NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3Dyes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes PATCHFILES=3D=09linux-beonex-generated-files-${PORTVERSION}.tar.bz2 PKGMESSAGE=3D=09${WRKDIR}/pkg-message PLIST=3D=09=09${WRKDIR}/pkg-plist USE_BZIP2=3D=09yes -PREFIX?=3D=09${X11BASE} WRKSRC=3D=09=09${WRKDIR}/beonex-comm post-extract: @@ -55,6 +54,9 @@ =09=09${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null" \ =09=09=09>>${WRKDIR}/linkfarm .endfor + +do-build: +=09${BRANDELF} -t Linux ${WRKSRC}/lib/linux-beonex/beonex-comm pre-install: =09${ECHO_CMD} bin/linux-beonex > ${PLIST} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-firefox/Makefile devel_ports/www/linux-firefox/Makef= ile --- ports/www/linux-firefox/Makefile=09Fri Mar 11 11:12:08 2005 +++ devel_ports/www/linux-firefox/Makefile=09Thu Apr 7 18:01:46 2005 @@ -17,16 +17,13 @@ COMMENT=3D Web browser branched from Mozilla RUN_DEPENDS?=3D \ -${LINUXBASE}/usr/lib/libstdc++.so.5:${PORTSDIR}/emulators/linux_base-8 \ ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gt= k2 \ ${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \ ${LINUXBASE}/usr/lib/libpangoxft-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-p= ango\ ${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \ -${LINUXBASE}${X11BASE}/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs = \ ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontco= nfig NO_BUILD=3D yes -NO_FILTER_SHLIBS=3Dyes ONLY_FOR_ARCHS=3Di386 FIREFOX_NAME=3D ${PKGNAMEPREFIX}${PORTNAME} DESCR=3D ${.CURDIR}/pkg-descr @@ -34,7 +31,6 @@ PKGMESSAGE=3D ${WRKDIR}/pkg-message PLIST=3D ${WRKDIR}/pkg-plist USE_LINUX=3D yes -USE_XLIB=3D yes USE_X_PREFIX=3D yes WRKSRC=3D ${WRKDIR}/firefox diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-flashplugin/Makefile devel_ports/www/linux-flashplug= in/Makefile --- ports/www/linux-flashplugin/Makefile=09Tue Mar 1 22:51:47 2005 +++ devel_ports/www/linux-flashplugin/Makefile=09Thu Apr 7 16:11:51 2005 @@ -24,6 +24,7 @@ RESTRICTED=3D=09"Redistribution not allowed" NO_BUILD=3D=09yes +USE_LINUX=3D=09yes WRKSRC=3D=09=09${WRKDIR}/flash_linux LATEST_LINK=3D=09flash5 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-flashplugin6/Makefile devel_ports/www/linux-flashplu= gin6/Makefile --- ports/www/linux-flashplugin6/Makefile=09Tue Mar 1 22:51:47 2005 +++ devel_ports/www/linux-flashplugin6/Makefile=09Thu Apr 7 16:12:08 2005 @@ -20,6 +20,7 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes RESTRICTED=3D=09"Redistribution not allowed" diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-flashplugin7/Makefile devel_ports/www/linux-flashplu= gin7/Makefile --- ports/www/linux-flashplugin7/Makefile=09Tue Mar 1 22:51:47 2005 +++ devel_ports/www/linux-flashplugin7/Makefile=09Thu Apr 7 16:13:12 2005 @@ -20,6 +20,7 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes RESTRICTED=3D=09"Redistribution not allowed" diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-mozilla/Makefile devel_ports/www/linux-mozilla/Makef= ile --- ports/www/linux-mozilla/Makefile=09Tue Mar 1 22:51:47 2005 +++ devel_ports/www/linux-mozilla/Makefile=09Thu Apr 7 17:59:32 2005 @@ -20,11 +20,10 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-tool= kits/linux-gtk -NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3D=09yes ONLY_FOR_ARCHS=3D=09i386 -PREFIX?=3D=09${X11BASE} USE_ZIP=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WRKSRC=3D=09${WRKDIR}/xpi INSTALL_DIR=3D=09${PREFIX}/lib/linux-mozilla PKGMESSAGE=3D=09${WRKDIR}/pkg-message @@ -87,6 +86,9 @@ =09${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null" \ =09=09>> ${WRKDIR}/linkfarm .endfor + +do-build: +=09${BRANDELF} -t Linux ${WRKSRC}/bin/mozilla pre-install: =09${ECHO_CMD} bin/${STARTUP_CMD} > ${PLIST} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-mozilla-devel/Makefile devel_ports/www/linux-mozilla= -devel/Makefile --- ports/www/linux-mozilla-devel/Makefile=09Tue Mar 1 22:51:47 2005 +++ devel_ports/www/linux-mozilla-devel/Makefile=09Thu Apr 7 17:59:58 2005 @@ -22,11 +22,10 @@ RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-tool= kits/linux-gtk -NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3D=09yes ONLY_FOR_ARCHS=3D=09i386 -PREFIX?=3D=09${X11BASE} USE_ZIP=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes WRKSRC=3D=09${WRKDIR}/xpi INSTALL_DIR=3D=09linux-mozilla-devel FULL_INSTALL_DIR=3D=09${PREFIX}/lib/linux-mozilla-devel @@ -87,6 +86,9 @@ =09${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null"=09>>${WRKDI= R}/linkfarm =09${ECHO_CMD} -n "${FIND} ../../linux-beonex/plugins"=09>>${WRKDIR}/linkf= arm =09${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null"=09>>${WRKDI= R}/linkfarm + +do-build: +=09${BRANDELF} -t ${WRKSRC}/bin/mozilla pre-install: =09${ECHO_CMD} bin/${STARTUP_CMD} > ${PLIST} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-mozillafirebird/Makefile devel_ports/www/linux-mozil= lafirebird/Makefile --- ports/www/linux-mozillafirebird/Makefile=09Sat Mar 26 20:37:32 2005 +++ devel_ports/www/linux-mozillafirebird/Makefile=09Thu Apr 7 18:00:52 20= 05 @@ -23,14 +23,14 @@ BROKEN=3D=09=09Incorrect pkg-plist NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3Dyes ONLY_FOR_ARCHS=3D=09i386 +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes FIREBIRD_NAME=3D=09${PKGNAMEPREFIX}${PORTNAME} DESCR=3D=09=09${.CURDIR}/pkg-descr MD5_FILE=3D=09${.CURDIR}/distinfo PKGMESSAGE=3D=09${WRKDIR}/pkg-message PLIST=3D=09=09${WRKDIR}/pkg-plist -PREFIX?=3D=09${X11BASE} WRKSRC=3D=09=09${WRKDIR}/MozillaFirebird do-patch: diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/linux-opera/Makefile devel_ports/www/linux-opera/Makefile --- ports/www/linux-opera/Makefile=09Sun Feb 20 23:22:27 2005 +++ devel_ports/www/linux-opera/Makefile=09Fri Apr 8 10:57:08 2005 @@ -25,21 +25,20 @@ MAINTAINER=3D=09mezz@FreeBSD.org COMMENT=3D=09A blazingly fast, full-featured, standards-compliant browser -RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1= 1/linux-XFree86-libs \ +RUN_DEPENDS=3D=09\ =09=09${LINUXBASE}/usr/lib/libaspell.so.15:${PORTSDIR}/textproc/linux-aspe= ll \ =09=09${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3:${PORTSDIR}/x11-toolkits/l= inux-openmotif RESTRICTED=3D=09"not redistributable; commercial software" -PREFIX?=3D=09${X11BASE} USE_BZIP2=3D=09yes WANT_GNOME=3D=09yes -WITH_LINUX=3D=09yes +USE_LINUX=3D=09yes USE_REINPLACE=3D=09yes +USE_X_PREFIX=3D=09yes ONLY_FOR_ARCHS=3D=09i386 NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3Dyes OPERA_VER=3D=097.54 OPERA_DATE=3D=0920050131 diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/www/netscape7/Makefile devel_ports/www/netscape7/Makefile --- ports/www/netscape7/Makefile=09Sat Mar 26 21:09:41 2005 +++ devel_ports/www/netscape7/Makefile=09Thu Apr 7 18:01:21 2005 @@ -28,12 +28,12 @@ MAJ?=3D=09=09netscape7 NETSCAPE_LANG?=3Denglish NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3D=09yes ONLY_FOR_ARCHS=3D=09i386 RESTRICTED=3D=09"no redistribution" NO_CDROM=3D=09${RESTRICTED} -PREFIX?=3D=09${X11BASE} USE_ZIP=3D=09yes +USE_LINUX=3D=09yes +USE_X_PREFIX=3D=09yes VER?=3D=09=09${PORTVERSION} WRKSRC=3D=09${WRKDIR}/netscape-installer/xpi INSTALL_DIR=3D=09lib/linux-${MAJ}-${NETSCAPE_LANG} diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/x11/linux-XFree86-libs/Makefile devel_ports/x11/linux-XFree86-= libs/Makefile --- ports/x11/linux-XFree86-libs/Makefile=09Tue Mar 1 22:51:48 2005 +++ devel_ports/x11/linux-XFree86-libs/Makefile=09Thu Apr 7 18:02:45 2005 @@ -27,9 +27,9 @@ CONFLICTS=3D=09linux_base-6* linux_base-7* linux_base-deb* USE_LINUX_PREFIX=3Dyes +USE_LINUX=3D=09yes MD5_FILE=3D=09${MASTERDIR}/distinfo.i386 NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3D=09yes ONLY_FOR_ARCHS=3D=09amd64 i386 PKGINSTALL=3D=09${WRKDIR}/pkg-install PLIST=3D=09=09${WRKDIR}/plist diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/x11/nvidia-driver/Makefile devel_ports/x11/nvidia-driver/Makef= ile --- ports/x11/nvidia-driver/Makefile=09Tue Mar 1 22:51:48 2005 +++ devel_ports/x11/nvidia-driver/Makefile=09Thu Apr 7 16:14:24 2005 @@ -41,7 +41,7 @@ =09=09LINUXBASE=3D${LINUXBASE} NVVERSION=3D${NVVERSION} .if !defined(WITHOUT_LINUX) -USE_LINUX?=3D=09yes +USE_LINUX=3D=09yes RUN_DEPENDS+=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x= 11/linux-XFree86-libs PLIST_SUB+=3D=09LINUX=3D"" .else diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis= tfiles ports/x11-toolkits/linux-gtk/Makefile devel_ports/x11-toolkits/linux= -gtk/Makefile --- ports/x11-toolkits/linux-gtk/Makefile=09Tue Mar 1 22:51:48 2005 +++ devel_ports/x11-toolkits/linux-gtk/Makefile=09Thu Apr 7 18:03:23 2005 @@ -23,6 +23,7 @@ ONLY_FOR_ARCHS?=3D=09i386 alpha amd64 +USE_LINUX=3D=09=09yes USE_LINUX_PREFIX=3D=09yes .include @@ -34,7 +35,6 @@ DIST_SUBDIR?=3D=09rpm EXTRACT_ONLY=3D NO_BUILD=3D=09yes -NO_FILTER_SHLIBS=3D=09yes PLIST?=3D=09=09${PKGDIR}/pkg-plist.${ARCH} MD5_FILE?=3D=09${MASTERDIR}/distinfo.${ARCH} --=_6apxqruzpe4o-- From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 13:08:07 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCCFF16A4CE for ; Tue, 12 Apr 2005 13:08:07 +0000 (GMT) Received: from mxsf23.cluster1.charter.net (mxsf23.cluster1.charter.net [209.225.28.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6525743D49 for ; Tue, 12 Apr 2005 13:08:07 +0000 (GMT) (envelope-from c0ldbyte@myrealbox.com) Received: from mxip04.cluster1.charter.net (mxip04a.cluster1.charter.net [209.225.28.134])j3CD85TE019023 for ; Tue, 12 Apr 2005 09:08:06 -0400 Received: from 24.247.253.134.gha.mi.chartermi.net (HELO eleanor.us1.wmi.uvac.net) (24.247.253.134) by mxip04.cluster1.charter.net with ESMTP; 12 Apr 2005 09:07:20 -0400 X-Ironport-AV: i="3.92,95,1112587200"; d="scan'208"; a="217849738:sNHT4283718190" Date: Tue, 12 Apr 2005 09:07:11 -0400 (EDT) From: c0ldbyte To: Christy Pang In-Reply-To: <425B3089.4080703@borderware.com> Message-ID: <20050412090100.D29688@eleanor.us1.wmi.uvac.net> References: <425AED7B.2030202@borderware.com> <20050411192952.R59262@eleanor.us1.wmi.uvac.net> <425B3089.4080703@borderware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-java@freebsd.org Subject: Re: [Fwd: Re: TimeZone Defaults] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 13:08:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 11 Apr 2005, Christy Pang wrote: > c0ldbyte wrote: > >> On Mon, 11 Apr 2005, Christy Pang wrote: >> >>> >>> >>> -------- Original Message -------- >>> Subject: Re: TimeZone Defaults >>> Date: Mon, 11 Apr 2005 15:05:44 -0400 >>> From: Christy Pang >>> To: Kurt Miller >>> References: <425AA4DA.8070103@borderware.com> >>> <425AB46B.5040602@iang.org> <012401c53ec1$c164b4e0$150110ac@focus> >>> >>> >>> >>> Kurt Miller wrote: >>> >>>> Is /etc/localtime a symlink? If it is, try copying the tz file >>>> to /etc/localtime instead. >>> >>> >>> It was a symlink. Our /etc file system is a read only file system. But >>> even copy the TZ file to /etc/localtime >>> >>> md5 /etc/localtime >>> MD5 (/etc/localtime) = 370687bb78b74fc4540f6a316d8bca02 >>> root@sip-tey >>> 2:24pm # md5 /usr/share/zoneinfo/America/Toronto >>> MD5 (/usr/share/zoneinfo/America/Toronto) = >>> 370687bb78b74fc4540f6a316d8bca02 >>> >>> the result is still wrong, should be *GMT-04:00* >>> >>> $JAVA_HOME/bin/java tztest >>> >>> tz = GMT+04:00 >>> >>> Christy >>> >> >> So set the correct time zone ? > > No. The /etc/localtime file is the same as > /usr/share/zoneinfo/America/Toronto (same md5), the following code > TimeZone.getDefault().getID(); > ret. GMT+04:00 instead of GMT-04:00 . > Try setting environment variable "TZ" to your correct timezone. sorry thats what I meant to say the last time but just couldnt get it out at the moment. In t,csh(1): setenv TZ appropriate_tz_here In sh(1) and equiv: export TZ='appropriate_tz_here' TZ is a case sensitive setting as well in both shell environments. this setting can also be set through login.conf(5) using the (timezone) environment. Best of luck. --c0ldbyte - -- ( When in doubt, use brute force. -- Ken Thompson 1998 ) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB 7E77 B261 50BA F7DF 979F iD8DBQFCW8gCsmFQuvffl58RAvaVAKCBrejpPdI8g57Or3uoUr1z6sxbaACgk9lP RISpJa5kwIq67p6e8WccWvI= =aOXC -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Tue Apr 12 19:13:15 2005 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26A7A16A4CE; Tue, 12 Apr 2005 19:13:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB8AF43D53; Tue, 12 Apr 2005 19:13:14 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3CJDEGv080860; Tue, 12 Apr 2005 19:13:14 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3CJDE8D080856; Tue, 12 Apr 2005 19:13:14 GMT (envelope-from glewis) Date: Tue, 12 Apr 2005 19:13:14 GMT From: Greg Lewis Message-Id: <200504121913.j3CJDE8D080856@freefall.freebsd.org> To: jmullins3@triad.rr.com, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: ports/72902: Make of /usr/ports/java/jdk14 fails with internal compiler error. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 19:13:15 -0000 Synopsis: Make of /usr/ports/java/jdk14 fails with internal compiler error. State-Changed-From-To: open->feedback State-Changed-By: glewis State-Changed-When: Tue Apr 12 19:11:41 GMT 2005 State-Changed-Why: Does this also occur on FreeBSD 5.3? I don't believe 5.2.1 is being supported any longer. Responsible-Changed-From-To: freebsd-java-> Responsible-Changed-By: glewis Responsible-Changed-When: Tue Apr 12 19:11:41 GMT 2005 Responsible-Changed-Why: This is an internal compiler error from gcc, its not really related to java at all. http://www.freebsd.org/cgi/query-pr.cgi?pr=72902 From owner-freebsd-java@FreeBSD.ORG Wed Apr 13 02:29:20 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C619E16A4CE; Wed, 13 Apr 2005 02:29:20 +0000 (GMT) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40FAC43D4C; Wed, 13 Apr 2005 02:29:20 +0000 (GMT) (envelope-from jmullins3@triad.rr.com) Received: from [65.188.152.191] (cpe-065-188-152-191.triad.res.rr.com [65.188.152.191])j3D2TH0V019993; Tue, 12 Apr 2005 22:29:17 -0400 (EDT) Message-ID: <425C83E8.1090706@triad.rr.com> Date: Tue, 12 Apr 2005 22:28:56 -0400 From: Jeff Mullins User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.6) Gecko/20050411 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Lewis References: <200504121913.j3CJDE8D080856@freefall.freebsd.org> In-Reply-To: <200504121913.j3CJDE8D080856@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-java@FreeBSD.org Subject: Re: ports/72902: Make of /usr/ports/java/jdk14 fails with internal compiler error. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 02:29:20 -0000 Greg Lewis wrote: >Synopsis: Make of /usr/ports/java/jdk14 fails with internal compiler error. > >State-Changed-From-To: open->feedback >State-Changed-By: glewis >State-Changed-When: Tue Apr 12 19:11:41 GMT 2005 >State-Changed-Why: >Does this also occur on FreeBSD 5.3? I don't believe 5.2.1 is being >supported any longer. > > >Responsible-Changed-From-To: freebsd-java-> >Responsible-Changed-By: glewis >Responsible-Changed-When: Tue Apr 12 19:11:41 GMT 2005 >Responsible-Changed-Why: >This is an internal compiler error from gcc, its not really related >to java at all. > >http://www.freebsd.org/cgi/query-pr.cgi?pr=72902 > > > I have not tried compiling with version 5.3. I suspected at the time a gcc error, and I think the version of gcc at that time did have issues. I have since started using java with linux emualtion so I have not had any reason to compile the jdk. You may close the problem report. Thanks Jeff Mullins From owner-freebsd-java@FreeBSD.ORG Thu Apr 14 13:28:27 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8797F16A4CE; Thu, 14 Apr 2005 13:28:27 +0000 (GMT) Received: from pop-a065c10.pas.sa.earthlink.net (pop-a065c10.pas.sa.earthlink.net [207.217.121.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F51643D41; Thu, 14 Apr 2005 13:28:26 +0000 (GMT) (envelope-from mvh@ix.netcom.com) Received: from lsanca1-ar6-4-62-201-077.lsanca1.elnk.dsl.genuity.net ([4.62.201.77] helo=bsd.mvh) by pop-a065c10.pas.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1DM4OP-0001Rs-00; Thu, 14 Apr 2005 06:28:25 -0700 Received: from localhost (localhost.mvh [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id 20799170C1; Thu, 14 Apr 2005 06:28:25 -0700 (PDT) Received: from bsd.mvh ([127.0.0.1]) by localhost (bsd.mvh [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97661-06; Thu, 14 Apr 2005 06:28:21 -0700 (PDT) Received: by bsd.mvh (Postfix, from userid 1001) id 90338170B1; Thu, 14 Apr 2005 06:28:21 -0700 (PDT) From: Mike Harding To: gnome@freebsd.org, java@freebsd.org Message-Id: <20050414132821.90338170B1@bsd.mvh> Date: Thu, 14 Apr 2005 06:28:21 -0700 (PDT) X-Virus-Scanned: amavisd-new at bsd.mvh Subject: eclipse doesn't build? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 13:28:27 -0000 Eclipse doesn't build right now, these seems to be gnome related... Script started on Thu Apr 14 06:23:31 2005 bsd# make ===> Vulnerability check disabled, database not found ===> Extracting for eclipse-3.0.1_4 => Checksum OK for eclipse/eclipse-sourceBuild-srcIncluded-3.0.1.zip. ===> eclipse-3.0.1_4 depends on executable: unzip - found ===> Patching for eclipse-3.0.1_4 ===> Applying FreeBSD patches for eclipse-3.0.1_4 ===> eclipse-3.0.1_4 depends on executable: ant - found ===> eclipse-3.0.1_4 depends on executable: zip - found ===> eclipse-3.0.1_4 depends on executable: unzip - found ===> eclipse-3.0.1_4 depends on executable: mozilla - found ===> eclipse-3.0.1_4 depends on file: /usr/local/jdk1.4.2/bin/java - found ===> eclipse-3.0.1_4 depends on executable: gmake - found ===> eclipse-3.0.1_4 depends on file: /usr/local/bin/intltool-extract - found ===> eclipse-3.0.1_4 depends on file: /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found ===> eclipse-3.0.1_4 depends on executable: pkg-config - found ===> eclipse-3.0.1_4 depends on shared library: esd.2 - found ===> eclipse-3.0.1_4 depends on shared library: atk-1.0.901 - found ===> eclipse-3.0.1_4 depends on shared library: gconf-2.5 - found ===> eclipse-3.0.1_4 depends on shared library: glib-2.0.600 - found ===> eclipse-3.0.1_4 depends on shared library: gnomevfs-2.1000 - found ===> eclipse-3.0.1_4 depends on shared library: gtk-x11-2.0.600 - found ===> eclipse-3.0.1_4 depends on shared library: art_lgpl_2.5 - found ===> eclipse-3.0.1_4 depends on shared library: bonobo-2.0 - found ===> eclipse-3.0.1_4 depends on shared library: bonoboui-2.0 - found ===> eclipse-3.0.1_4 depends on shared library: glade-2.0.0 - found ===> eclipse-3.0.1_4 depends on shared library: gnome-2.1000 - found ===> eclipse-3.0.1_4 depends on shared library: gnomecanvas-2.1000 - found ===> eclipse-3.0.1_4 depends on shared library: gnomeui-2.1000 - found ===> eclipse-3.0.1_4 depends on shared library: IDL-2.0 - found ===> eclipse-3.0.1_4 depends on shared library: xml2.5 - found ===> eclipse-3.0.1_4 depends on shared library: xslt.2 - found ===> eclipse-3.0.1_4 depends on shared library: linc.1 - found ===> eclipse-3.0.1_4 depends on shared library: ORBit-2.0 - found ===> eclipse-3.0.1_4 depends on shared library: pango-1.0.800 - found ===> Configuring for eclipse-3.0.1_4 Copying plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_linux.properties into plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_freebsd.properties Copying plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_linux_gtk.properties into plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_freebsd_gtk.properties Copying plugins/platform-launcher/library/motif/make_linux.mak into plugins/platform-launcher/library/motif/make_freebsd.mak Copying assemble.org.eclipse.sdk.linux.motif.x86.xml into assemble.org.eclipse.sdk.freebsd.motif.x86.xml Copying assemble.org.eclipse.sdk.linux.gtk.x86.xml into assemble.org.eclipse.sdk.freebsd.gtk.x86.xml Copying plugins/org.eclipse.pde.source.linux.gtk.x86 into plugins/org.eclipse.pde.source.freebsd.gtk.x86 Copying plugins/org.eclipse.pde.source.linux.motif.x86 into plugins/org.eclipse.pde.source.freebsd.motif.x86 Copying plugins/org.eclipse.platform.source.linux.motif.x86 into plugins/org.eclipse.platform.source.freebsd.motif.x86 Copying plugins/org.eclipse.swt.motif/os/linux into plugins/org.eclipse.swt.motif/os/freebsd Copying plugins/org.eclipse.jdt.source.linux.motif.x86 into plugins/org.eclipse.jdt.source.freebsd.motif.x86 Copying plugins/org.eclipse.platform.source.linux.gtk.x86 into plugins/org.eclipse.platform.source.freebsd.gtk.x86 Copying plugins/org.eclipse.jdt.source.linux.gtk.x86 into plugins/org.eclipse.jdt.source.freebsd.gtk.x86 Copying plugins/org.eclipse.update.core.linux into plugins/org.eclipse.update.core.freebsd Copying plugins/org.eclipse.update.core.linux/os/linux into plugins/org.eclipse.update.core.freebsd/os/freebsd Copying plugins/org.eclipse.core.resources.linux into plugins/org.eclipse.core.resources.freebsd Copying plugins/org.eclipse.core.resources.linux/os/linux into plugins/org.eclipse.core.resources.freebsd/os/freebsd Copying plugins/org.eclipse.swt.gtk/os/linux into plugins/org.eclipse.swt.gtk/os/freebsd Copying plugins/platform-launcher/bin/linux into plugins/platform-launcher/bin/freebsd Copying features/org.eclipse.platform/linux.motif into features/org.eclipse.platform/freebsd.motif ===> Building for eclipse-3.0.1_4 ===> Building libswt. cd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" && \ /bin/sh ./build.sh && \ /bin/cp *.so ../../../../org.eclipse.swt.gtk/os/freebsd/x86/ gmake[1]: Entering directory `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library' cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic -c swt.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic -c callback.c cc -shared -fpic -o libswt-gtk-3063.so swt.o callback.o cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_structs.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_custom.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_stats.c cc -shared -fpic `pkg-config --libs gtk+-2.0 gthread-2.0` -L/usr/X11R6/lib -lXtst -o libswt-pi-gtk-3063.so swt.o os.o os_structs.o os_custom.o os_stats.o cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_structs.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_custom.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_stats.c cc -shared -fpic `pkg-config --libs atk gtk+-2.0` -o libswt-atk-gtk-3063.so swt.o atk.o atk_structs.o atk_custom.o atk_stats.o cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome_structs.c cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome_stats.c cc -shared -fpic `pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -o libswt-gnome-gtk-3063.so swt.o gnome.o gnome_structs.o gnome_stats.o /usr/bin/ld: cannot find -lpopt gmake[1]: *** [libswt-gnome-gtk-3063.so] Error 1 gmake[1]: Leaving directory `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library' gmake: *** [libswt] Error 2 *** Error code 2 Stop in /usr/ports/java/eclipse. From owner-freebsd-java@FreeBSD.ORG Fri Apr 15 20:49:58 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1267B16A4CE for ; Fri, 15 Apr 2005 20:49:58 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CB8BC43D2D for ; Fri, 15 Apr 2005 20:49:56 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 15 Apr 2005 20:49:55 -0000 Received: from dsl-084-056-169-243.arcor-ip.net (EHLO beaster) [84.56.169.243] by mail.gmx.net (mp030) with SMTP; 15 Apr 2005 22:49:55 +0200 X-Authenticated: #18511927 From: Ralf Folkerts To: freebsd-java@FreeBSD.org Content-Type: text/plain Organization: Wohnzimmerrechenzentrum Date: Fri, 15 Apr 2005 22:49:37 +0200 Message-Id: <1113598177.67555.9.camel@beaster> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: JDK 1.5 Install-Error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 20:49:58 -0000 Hi, I just upgraded my installed ports - amongst them the FreeBSD JDK 1.5. Unfortunately, after compiling quite a while, the install failed. My currently installed Version is "jdk-1.5.0p1", the new from the Ports is "1.5.0p1_1". The Wrapper is "javavmwrapper-2.0_4". I'm not sure if I missed something (searched both UPDATING and this List) or if this is a Problem with the Port - therefore I post this info. I just manually unregsistered the 1.5 and will re-build it - hope it runs thru fine :-) Cheers, _ralf_ ===> Generating temporary packing list ===> Checking if java/jdk15 already installed /bin/mkdir -p /usr/local/jdk1.5.0 cd /usr/ports/jdk15/work/control/make/../build/bsd-i586/j2sdk-image && /usr/bin/find . | /usr/bin/cpio -pdmu -R root:wheel /usr/local/jdk1.5.0 205814 blocks registervm: error: JavaVM "/usr/local/jdk1.5.0/bin/java" is already registered *** Error code 1 Stop in /usr/ports/jdk15. *** Error code 1 Stop in /usr/ports/jdk15. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade975.53 make reinstall From owner-freebsd-java@FreeBSD.ORG Fri Apr 15 21:31:27 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 995FF16A4CE for ; Fri, 15 Apr 2005 21:31:27 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id F383043D41 for ; Fri, 15 Apr 2005 21:31:26 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j3FLVPGg001603; Fri, 15 Apr 2005 15:31:25 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j3FLVOmJ001602; Fri, 15 Apr 2005 15:31:24 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 15 Apr 2005 15:31:24 -0600 From: Greg Lewis To: Ralf Folkerts Message-ID: <20050415213124.GA1530@misty.eyesbeyond.com> References: <1113598177.67555.9.camel@beaster> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1113598177.67555.9.camel@beaster> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5 Install-Error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 21:31:27 -0000 On Fri, Apr 15, 2005 at 10:49:37PM +0200, Ralf Folkerts wrote: > I just upgraded my installed ports - amongst them the FreeBSD JDK 1.5. > > Unfortunately, after compiling quite a while, the install failed. > > My currently installed Version is "jdk-1.5.0p1", the new from the Ports > is "1.5.0p1_1". The Wrapper is "javavmwrapper-2.0_4". > > I'm not sure if I missed something (searched both UPDATING and this > List) or if this is a Problem with the Port - therefore I post this > info. I just manually unregsistered the 1.5 and will re-build it - hope > it runs thru fine :-) > > ===> Generating temporary packing list > ===> Checking if java/jdk15 already installed > /bin/mkdir -p /usr/local/jdk1.5.0 > cd /usr/ports/jdk15/work/control/make/../build/bsd-i586/j2sdk-image > && /usr/bin/find . | /usr/bin/cpio -pdmu -R > root:wheel /usr/local/jdk1.5.0 > 205814 blocks > registervm: error: JavaVM "/usr/local/jdk1.5.0/bin/java" is already > registered > *** Error code 1 How are you upgrading the port? If you're using portupgrade is should unregister the VM when you deinstall the old version. It doesn't look like that happened. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Apr 16 07:01:07 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E17B616A4CE for ; Sat, 16 Apr 2005 07:01:07 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C19A443D1D for ; Sat, 16 Apr 2005 07:01:06 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 16 Apr 2005 07:01:05 -0000 Received: from dsl-084-056-169-243.arcor-ip.net (EHLO beaster) [84.56.169.243] by mail.gmx.net (mp025) with SMTP; 16 Apr 2005 09:01:05 +0200 X-Authenticated: #18511927 From: Ralf Folkerts To: Greg Lewis In-Reply-To: <20050415213124.GA1530@misty.eyesbeyond.com> References: <1113598177.67555.9.camel@beaster> <20050415213124.GA1530@misty.eyesbeyond.com> Content-Type: text/plain Organization: Wohnzimmerrechenzentrum Date: Sat, 16 Apr 2005 09:01:03 +0200 Message-Id: <1113634863.42013.4.camel@beaster> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5 Install-Error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 07:01:08 -0000 On Fri, 2005-04-15 at 15:31 -0600, Greg Lewis wrote: Hi Greg, > On Fri, Apr 15, 2005 at 10:49:37PM +0200, Ralf Folkerts wrote: > > I just upgraded my installed ports - amongst them the FreeBSD JDK 1.5. > > > > Unfortunately, after compiling quite a while, the install failed. > > > > My currently installed Version is "jdk-1.5.0p1", the new from the Ports > > is "1.5.0p1_1". The Wrapper is "javavmwrapper-2.0_4". > > > > I'm not sure if I missed something (searched both UPDATING and this > > List) or if this is a Problem with the Port - therefore I post this > > info. I just manually unregsistered the 1.5 and will re-build it - hope > > it runs thru fine :-) > > > > ===> Generating temporary packing list > > ===> Checking if java/jdk15 already installed > > /bin/mkdir -p /usr/local/jdk1.5.0 > > cd /usr/ports/jdk15/work/control/make/../build/bsd-i586/j2sdk-image > > && /usr/bin/find . | /usr/bin/cpio -pdmu -R > > root:wheel /usr/local/jdk1.5.0 > > 205814 blocks > > registervm: error: JavaVM "/usr/local/jdk1.5.0/bin/java" is already > > registered > > *** Error code 1 > > How are you upgrading the port? If you're using portupgrade is should > unregister the VM when you deinstall the old version. It doesn't look > like that happened. sorry, forgot to mention that :-( Yes; I upgrade with "portupgrade -a". However, when there is a Portupgrade-Update (or one for Ruby) I usually Upgrade that first and then start the "portupgrade -a". Did so this time, as there was a newer Portupgrade. The Version I used for the jdk15-Build is "portupgrade-20041226_2". Cheers, _ralf_ From owner-freebsd-java@FreeBSD.ORG Sat Apr 16 16:40:23 2005 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB87F16A4CE for ; Sat, 16 Apr 2005 16:40:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAD8343D54 for ; Sat, 16 Apr 2005 16:40:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3GGeNO0015927 for ; Sat, 16 Apr 2005 16:40:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3GGeNej015925; Sat, 16 Apr 2005 16:40:23 GMT (envelope-from gnats) Resent-Date: Sat, 16 Apr 2005 16:40:23 GMT Resent-Message-Id: <200504161640.j3GGeNej015925@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Richard Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1769816A4CE for ; Sat, 16 Apr 2005 16:31:21 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0252543D1D for ; Sat, 16 Apr 2005 16:31:21 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3GGVKfB059191 for ; Sat, 16 Apr 2005 16:31:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3GGVKFX059190; Sat, 16 Apr 2005 16:31:20 GMT (envelope-from nobody) Message-Id: <200504161631.j3GGVKFX059190@www.freebsd.org> Date: Sat, 16 Apr 2005 16:31:20 GMT From: Richard To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: java/80009: jdk14 won't compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 16:40:24 -0000 >Number: 80009 >Category: java >Synopsis: jdk14 won't compile >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 16 16:40:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Richard >Release: FreeBSD 5.3-RELEASE (GENERIC) >Organization: IESJ >Environment: Compiling ../generated/adfiles/ad_i486_misc.cpp {standard input}: Assembler messages: {standard input}:104953: Warning: end of file not at end of a line; newline inse rted {standard input}:105865: Error: suffix or operands invalid for `mov' g++: Internal error: Killed (program cc1plus) Please submit a full bug report. See for instructions. gmake[3]: *** [ad_i486_misc.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h otspot-i586/tmp/bsd_i486_compiler2/product' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h otspot-i586/tmp/bsd_i486_compiler2/product' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h otspot-i586/tmp' gmake: *** [product] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. >Description: cd /usr/ports/java/jdk14 make install clean output of "gcc -v": Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 >How-To-Repeat: To get the same error again I mounted linprocfs and then gcc went through the compiling process again until it hit the same error. >Fix: >Release-Note: >Audit-Trail: >Unformatted: