Re: Call for testers: www/shellinabox (Shell in a Box)
2010/6/25 Doug Barton do...@freebsd.org: I didn't test the port, but attached is a diff to your rc.d script. Thanks a lot's for your remarks: I've merged your diff. Regards, Olivier ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Call for testers: www/shellinabox (Shell in a Box)
Olivier Cochard-Labbé wrote: I've just finished my port of Shell in a Box: It's a secure web server that provide ajax terminal emulator. Before to submit it, Can someone test it ? Builds installs fine. Does not run: # /usr/local/etc/rc.d/shellinaboxd onestart Starting shellinaboxd. # /usr/local/etc/rc.d/shellinaboxd onestatus shellinaboxd is not running. # tail -1 /var/log/messages Jun 25 11:31:30 vbsd kernel: pid 4461 (shellinaboxd) uid65534: exited on signal 11 # shellinaboxd Segmentation fault # uname -mrsi FreeBSD 8.0-RELEASE i386 GENERIC The machine in question is a vanilla 8.0-RELEASE in VirtualBox. I can provide any additional information, just name it. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Commit ports/147840:
I realize that everyone is busy with the soon to be released 8.1 update, etc; however, could ports/147840 please be committed. It is required to correct a bug in the last released version of the program that prevented it from running under certain conditions. Thanks! -- Jerry ✌ freebsd-ports.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ The best way to get rid of worries is to let them die of neglect. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
firefox + ssl issue
Dear sir, I has faced with a strange issue. After update up to firefox-3.6.4,1, firefox stopped work with https sites. For example I can't open site http://addons.mozilla.org/ and can't update addons. XMarks does not works too. Issue looks like infinity 'connecting to addons.mozilla.org'. I want pay your attention that ANY https site does not work. (infinity 'Lodaing...') My system is: $ uname -a FreeBSD shura 7.2-STABLE FreeBSD 7.2-STABLE #13: Wed May 12 15:19:55 MSD 2010 shura@:/usr/src/sys/i386/compile/shura i386 $ ls -l Makefile -rw-r--r-- 1 root wheel 4157 Jun 23 22:19 Makefile # make showconfig === The following configuration options are available for firefox-3.6.4,1: DBUS=off Enable D-BUS support NEWTAB=on Open external links in a new tab SMB=off Enable smb:// URI support using gnomevfs DEBUG=off Build a debugging image LOGGING=on Enable additional log messages OPTIMIZED_CFLAGS=on Enable some additional optimizations Also, I had the same issue with firefox 3.6.3, but I reinstall it from package and issue was fixed. Now I can't install a package because it is not exist yet. Please help. Best regards, Alexander Zaitsev ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: cvs commit: ports/lang/gprolog Makefile
The Restless Daemon identified a mtree error while trying to build: gprolog-1.3.1 maintained by po...@freebsd.org Makefile ident: $FreeBSD: ports/lang/gprolog/Makefile,v 1.28 2010/06/25 13:05:33 stefan Exp $ Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/gprolog-1.3.1.log : 32596911 24 -r--r--r--1 root wheel 10957 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog041.html 32596912 64 -r--r--r--1 root wheel 31448 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog042.html 32596913 24 -r--r--r--1 root wheel 11756 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog043.html 32596914 56 -r--r--r--1 root wheel 27575 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog044.html 32596915 44 -r--r--r--1 root wheel 20662 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog045.html 32596916 20 -r--r--r--1 root wheel8930 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog046.html 32596917 12 -r--r--r--1 root wheel5935 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog047.html 32596918 16 -r--r--r--1 root wheel6598 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog048.html 32596919 20 -r--r--r--1 root wheel8915 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog049.html 32596920 132 -r--r--r--1 root wheel 65830 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog050.html 32596921 44 -r--r--r--1 root wheel 21949 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog051.html 32596922 16 -r--r--r--1 root wheel6319 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog052.html 32596923 12 -r--r--r--1 root wheel4753 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog053.html 32596924 12 -r--r--r--1 root wheel5383 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog054.html 32596925 20 -r--r--r--1 root wheel8881 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog055.html 32596926 12 -r--r--r--1 root wheel4570 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog056.html 32596927 16 -r--r--r--1 root wheel6691 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog057.html 325969288 -r--r--r--1 root wheel2234 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog058.html 32596929 12 -r--r--r--1 root wheel5407 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog059.html 32596930 28 -r--r--r--1 root wheel 13196 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog060.html 32596931 28 -r--r--r--1 root wheel 13698 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog061.html 32596932 28 -r--r--r--1 root wheel 13125 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog062.html 32596933 16 -r--r--r--1 root wheel7009 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog063.html 325969348 -r--r--r--1 root wheel3740 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog064.html 325969358 -r--r--r--1 root wheel4075 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog065.html 325969364 -r--r--r--1 root wheel1920 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog066.html 32596937 12 -r--r--r--1 root wheel4688 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog067.html 32596938 56 -r--r--r--1 root wheel 28413 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog068.html 32596939 48 -r--r--r--1 root wheel 24035 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog069.html 32596940 28 -r--r--r--1 root wheel 12608 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog070.html 32596941 28 -r--r--r--1 root wheel 12705 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog071.html 32596942 16 -r--r--r--1 root wheel6756 Jun 25 13:08 usr/local/share/doc/gprolog/html_node/gprolog072.html 32596943 12 -r--r--r--1 root wheel
Re: Call for testers: www/shellinabox (Shell in a Box)
2010/6/25 Vitaly Magerya vmage...@gmail.com: Builds installs fine. Does not run: # /usr/local/etc/rc.d/shellinaboxd onestart Starting shellinaboxd. # /usr/local/etc/rc.d/shellinaboxd onestatus shellinaboxd is not running. # tail -1 /var/log/messages Jun 25 11:31:30 vbsd kernel: pid 4461 (shellinaboxd) uid65534: exited on signal 11 # shellinaboxd Segmentation fault # uname -mrsi FreeBSD 8.0-RELEASE i386 GENERIC Mine builds and installs fine, and seems to run, but I'm not able to connect to anything.. top shows shellinabox running sockstat -4 shows IP:4200 none of my browsers ever connect.. -- Christer Edwards ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: cvs commit: ports/lang/gprolog Makefile
Hi, q...@freebsd.org, 25.06.10, 15:08h CEST: The Restless Daemon identified a mtree error while trying to build: gprolog-1.3.1 maintained by po...@freebsd.org Makefile ident: $FreeBSD: ports/lang/gprolog/Makefile,v 1.28 2010/06/25 13:05:33 stefan Exp $ Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/gprolog-1.3.1.log : I'm unable to reproduce this on a tinderbox. It doesn't leave any files behind there... Stefan ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Call for testers: www/shellinabox (Shell in a Box)
2010/6/25 Vitaly Magerya vmage...@gmail.com: The machine in question is a vanilla 8.0-RELEASE in VirtualBox. I can provide any additional information, just name it. Do you have special optimization in /etc/make.conf ? Thanks, Olivier ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
php 5.3 ports with mysqlnd support
Hello Any plan to make controll for builds php 5.3 with mysqlnd feature ( http://dev.mysql.com/downloads/connector/php-mysqlnd/ ) via OPTIONS ? Currenlty i've added in /usr/local/etc/pkgtools.conf -- BEFOREBUILD = { 'lang/php5' = 'sh /root/patch/ports-php5.sh', } AFTERINSTALL = { 'lang/php5' = 'sh /root/patch/ports-php5.sh', } -- and write my patch /root/patch/ports-php5.sh: -- #!/bin/sh TMPMKFILE=/usr/ports/lang/php5/Makefile-orig MKFILE=/usr/ports/lang/php5/Makefile if [ -f ${TMPMKFILE} ]; then mv ${TMPMKFILE} ${MKFILE} exit fi if [ -n `/usr/bin/grep mysqlnd /usr/ports/lang/php5/Makefile`]; then cp ${MKFILE} ${TMPMKFILE} /usr/bin/sed 's/--disable-all/--disable-all --enable-pdo --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd/g' ${TMPMKFILE} ${MKFILE} fi -- And compile php via pkg{install|upgrade} tools. I have around 20 heavy-loaded servers with php-mysqlnd enabled for 5 month and i not get any failures therefore it is stable enough code and its will be wonderfull to see /usr/ports/lang/php5/Makefile with supporting of mysqlnd building. Thanks! ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
MAKE_JOBS and openjdk6
Hi, java/openjdk6 breaks with FORCE_MAKE_JOBS (it implements its own think). The attached patch fixes openjdk6, marks it as MAKE_JOBS_SAFE and makes it respect MAKE_JOBS_NUMBER. Regards, David P.S. I'm off list --- /usr/ports/java/openjdk6/Makefile 2010-05-22 03:05:20.0 +0200 +++ Makefile 2010-06-25 18:01:27.0 +0200 @@ -45,6 +45,7 @@ # java extracts directly to the cwd WRKSRC= ${WRKDIR} +MAKE_JOBS_SAFE= yes USE_GMAKE= yes USE_MOTIF= yes @@ -142,8 +143,11 @@ USE_DISPLAY= yes .endif -BUILD_JOBS_NUMBER!= ${SYSCTL} -n kern.smp.cpus -MAKE_ENV+= HOTSPOT_BUILD_JOBS=${BUILD_JOBS_NUMBER} +.if !defined(DISABLE_MAKE_JOBS) +MAKE_ENV+= HOTSPOT_BUILD_JOBS=${MAKE_JOBS_NUMBER} +# HACK: stop _MAKE_JOBS being defined with -jN +MAKE_JOBS_UNSAGE=yes +.endif COPYDIRS= \ hotspot/src/os/linux/launcher \ signature.asc Description: This is a digitally signed message part.
Re: MAKE_JOBS and openjdk6
On Fri, 25 Jun 2010 18:08:22 +0200 David Naylor naylor.b.da...@gmail.com wrote: +MAKE_JOBS_UNSAGE=yes ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Commit ports/147840:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 2010/06/25 03:31, Jerry wrote: I realize that everyone is busy with the soon to be released 8.1 update, etc; however, could ports/147840 please be committed. It is required to correct a bug in the last released version of the program that prevented it from running under certain conditions. Quick question - files/default.sample now have an empty CLAMAV_DB, is that intentional? Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.15 (FreeBSD) iQEcBAEBCAAGBQJMJQN1AAoJEATO+BI/yjfBLeIH/iNvBxjzLVQQyjX2vcfbJYtT NQTu9LZRvws1npPDoV90utZ8+VlfTaciQimxYMWeJbL3yAgTQ5dv8IID8tAcrYW+ KJ8j0bzrpnCFluwloEEItgaNmGYE0mSZbeZNN/9+GETS7l2nFDbc3jea/P8xUzbi TZ3DdBjmpawzyxPBv5pLgowYW+PelPFguE1Go5mJbo2bzFNa7pKQQb58eSOXvY2q hrRjXyfVP6axzU1Kr9gzujiVI3WVSRAyLtL77x34oW0POJq/w963FniybWt4qs0l lnBDEeMZA6fC5j7K20v4oVMksBCjU1zcQcwi8al4Nx7mSF8rdz8AUsNtM383IOk= =Bcgz -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: cvs commit: ports/lang/gprolog Makefile
Stefan Walter ste...@freebsd.org writes: Hi, q...@freebsd.org, 25.06.10, 15:08h CEST: The Restless Daemon identified a mtree error while trying to build: gprolog-1.3.1 maintained by po...@freebsd.org Makefile ident: $FreeBSD: ports/lang/gprolog/Makefile,v 1.28 2010/06/25 13:05:33 stefan Exp $ Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/gprolog-1.3.1.log : I'm unable to reproduce this on a tinderbox. It doesn't leave any files behind there... Even when NOPORTDOCS is defined? Here is a quick fix that makes the port respect NOPORTEXAMPLES, too. %% Index: lang/gprolog/Makefile === RCS file: /a/.cvsup/ports/lang/gprolog/Makefile,v retrieving revision 1.28 diff -u -p -r1.28 Makefile --- lang/gprolog/Makefile 25 Jun 2010 13:05:33 - 1.28 +++ lang/gprolog/Makefile 25 Jun 2010 20:03:37 - @@ -19,16 +19,26 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER USE_GMAKE= yes USE_AUTOTOOLS= autoconf:262 -CONFIGURE_ARGS=--with-c-flags=${CFLAGS} \ - --with-doc-dir=${DOCSDIR} \ - --with-examples-dir=${EXAMPLESDIR} +CONFIGURE_ARGS=--with-c-flags=${CFLAGS} CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL} PLIST_SUB+=GPROLOG_VER=${PORTVERSION} +.include bsd.port.pre.mk + +.if !defined(NOPORTDOCS) PORTDOCS= * +CONFIGURE_ARGS+=--with-doc-dir=${DOCSDIR} +.else +CONFIGURE_ARGS+=--with-doc-dir=${WRKDIR}/docs +.endif -.include bsd.port.pre.mk +.if !defined(NOPORTEXAMPLES) +PORTEXAMPLES= * +CONFIGURE_ARGS+=--with-examples-dir=${EXAMPLESDIR} +.else +CONFIGURE_ARGS+=--with-examples-dir=${WRKDIR}/examples +.endif .if defined(WITHOUT_FD) CONFIGURE_ARGS+=--disable-fd-solver Index: lang/gprolog/pkg-plist === RCS file: /a/.cvsup/ports/lang/gprolog/pkg-plist,v retrieving revision 1.9 diff -u -p -r1.9 pkg-plist --- lang/gprolog/pkg-plist 19 Mar 2008 07:43:35 - 1.9 +++ lang/gprolog/pkg-plist 25 Jun 2010 20:02:34 - @@ -27,72 +27,6 @@ gprolog-%%GPROLOG_VER%%/COPYING gprolog-%%GPROLOG_VER%%/VERSION gprolog-%%GPROLOG_VER%%/NEWS gprolog-%%GPROLOG_VER%%/ChangeLog -%%EXAMPLESDIR%%/ExamplesPl/Makefile -%%EXAMPLESDIR%%/ExamplesPl/README -%%EXAMPLESDIR%%/ExamplesPl/PROGS -%%EXAMPLESDIR%%/ExamplesPl/boyer.pl -%%EXAMPLESDIR%%/ExamplesPl/browse.pl -%%EXAMPLESDIR%%/ExamplesPl/cal.pl -%%EXAMPLESDIR%%/ExamplesPl/chat_parser.pl -%%EXAMPLESDIR%%/ExamplesPl/common.pl -%%EXAMPLESDIR%%/ExamplesPl/crypt.pl -%%EXAMPLESDIR%%/ExamplesPl/ham.pl -%%EXAMPLESDIR%%/ExamplesPl/hook.pl -%%EXAMPLESDIR%%/ExamplesPl/meta_qsort.pl -%%EXAMPLESDIR%%/ExamplesPl/nand.pl -%%EXAMPLESDIR%%/ExamplesPl/nrev.pl -%%EXAMPLESDIR%%/ExamplesPl/poly_10.pl -%%EXAMPLESDIR%%/ExamplesPl/qsort.pl -%%EXAMPLESDIR%%/ExamplesPl/queens.pl -%%EXAMPLESDIR%%/ExamplesPl/queensn.pl -%%EXAMPLESDIR%%/ExamplesPl/query.pl -%%EXAMPLESDIR%%/ExamplesPl/reducer.pl -%%EXAMPLESDIR%%/ExamplesPl/sdda.pl -%%EXAMPLESDIR%%/ExamplesPl/sendmore.pl -%%EXAMPLESDIR%%/ExamplesPl/tak.pl -%%EXAMPLESDIR%%/ExamplesPl/tak_gvar.pl -%%EXAMPLESDIR%%/ExamplesPl/zebra.pl -%%EXAMPLESDIR%%/ExamplesC/Makefile -%%EXAMPLESDIR%%/ExamplesC/README -%%EXAMPLESDIR%%/ExamplesC/examp.pl -%%EXAMPLESDIR%%/ExamplesC/new_main.pl -%%EXAMPLESDIR%%/ExamplesC/examp_c.c -%%EXAMPLESDIR%%/ExamplesC/new_main_c.c -%%EXAMPLESDIR%%/ExamplesFD/Makefile -%%EXAMPLESDIR%%/ExamplesFD/alpha.pl -%%EXAMPLESDIR%%/ExamplesFD/array.pl -%%EXAMPLESDIR%%/ExamplesFD/bdiag.pl -%%EXAMPLESDIR%%/ExamplesFD/bdonald.pl -%%EXAMPLESDIR%%/ExamplesFD/bpigeon.pl -%%EXAMPLESDIR%%/ExamplesFD/bqueens.pl -%%EXAMPLESDIR%%/ExamplesFD/bramsey.pl -%%EXAMPLESDIR%%/ExamplesFD/bridge.pl -%%EXAMPLESDIR%%/ExamplesFD/bridge1.pl -%%EXAMPLESDIR%%/ExamplesFD/bschur.pl -%%EXAMPLESDIR%%/ExamplesFD/bsend.pl -%%EXAMPLESDIR%%/ExamplesFD/cars.pl -%%EXAMPLESDIR%%/ExamplesFD/crypta.pl -%%EXAMPLESDIR%%/ExamplesFD/digit8.pl -%%EXAMPLESDIR%%/ExamplesFD/donald.pl -%%EXAMPLESDIR%%/ExamplesFD/eq10.pl -%%EXAMPLESDIR%%/ExamplesFD/eq20.pl -%%EXAMPLESDIR%%/ExamplesFD/five.pl -%%EXAMPLESDIR%%/ExamplesFD/gardner.pl -%%EXAMPLESDIR%%/ExamplesFD/langford.pl -%%EXAMPLESDIR%%/ExamplesFD/magic.pl -%%EXAMPLESDIR%%/ExamplesFD/magsq.pl -%%EXAMPLESDIR%%/ExamplesFD/multipl.pl -%%EXAMPLESDIR%%/ExamplesFD/partit.pl -%%EXAMPLESDIR%%/ExamplesFD/qg5.pl -%%EXAMPLESDIR%%/ExamplesFD/queens.pl -%%EXAMPLESDIR%%/ExamplesFD/send.pl -%%EXAMPLESDIR%%/ExamplesFD/square.pl -%%EXAMPLESDIR%%/ExamplesFD/srq.pl -%%EXAMPLESDIR%%/ExamplesFD/queens_fd.fd -...@dirrm %%EXAMPLESDIR%%/ExamplesFD -...@dirrm %%EXAMPLESDIR%%/ExamplesC -...@dirrm %%EXAMPLESDIR%%/ExamplesPl -...@dirrm %%EXAMPLESDIR%% @dirrm gprolog-%%GPROLOG_VER%%/lib @dirrm gprolog-%%GPROLOG_VER%%/include @dirrm gprolog-%%GPROLOG_VER%%/bin %% ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To
Re: Call for testers: www/shellinabox (Shell in a Box)
On Fri, Jun 25, 2010 at 8:32 AM, Christer Edwards christer.edwa...@gmail.com wrote: top shows shellinabox running sockstat -4 shows IP:4200 none of my browsers ever connect.. I just tried re-installing (after re-downloading your Makefile), and it's working fine for me now. Thank you -- Christer Edwards ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: MAKE_JOBS and openjdk6
On Friday 25 June 2010 18:08:22 David Naylor wrote: Hi, java/openjdk6 breaks with FORCE_MAKE_JOBS (it implements its own think). The attached patch fixes openjdk6, marks it as MAKE_JOBS_SAFE and makes it respect MAKE_JOBS_NUMBER. Regards, David P.S. I'm off list Oops. My hack didn't work. With MAKE_JOBS_SAFE _MAKE_JOBS is included but that evaluated to -jN and this is choking the Makefile. Is there an easier way to exclude _MAKE_JOBS? Perhaps set _MAKE_JOBS conditionally in bsd.ports.mk and a port can then do _MAKE_JOBS= The attached patch fixes the above problem without touching bsd.ports.mk. Regards diff -ur /usr/ports/java/openjdk6/Makefile openjdk6/Makefile --- /usr/ports/java/openjdk6/Makefile 2010-05-22 03:05:20.0 +0200 +++ openjdk6/Makefile 2010-06-25 23:28:24.0 +0200 @@ -45,6 +45,7 @@ # java extracts directly to the cwd WRKSRC= ${WRKDIR} +MAKE_JOBS_SAFE= yes USE_GMAKE= yes USE_MOTIF= yes @@ -142,8 +143,9 @@ USE_DISPLAY= yes .endif -BUILD_JOBS_NUMBER!= ${SYSCTL} -n kern.smp.cpus -MAKE_ENV+= HOTSPOT_BUILD_JOBS=${BUILD_JOBS_NUMBER} +.if !defined(DISABLE_MAKE_JOBS) +MAKE_ENV+= HOTSPOT_BUILD_JOBS=${MAKE_JOBS_NUMBER} +.endif COPYDIRS= \ hotspot/src/os/linux/launcher \ @@ -210,6 +212,15 @@ ${WRKSRC}/jdk/make/javax/crypto/Makefile .endif +do-build: + @(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}; then \ + if [ x != x${BUILD_FAIL_MESSAGE} ] ; then \ + ${ECHO_MSG} === Compilation failed unexpectedly.; \ + (${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ + fi; \ + ${FALSE}; \ + fi) + .if defined(WITH_TEST) post-build: @${ECHO_MSG} signature.asc Description: This is a digitally signed message part.
Re: MAKE_JOBS and openjdk6
David Naylor naylor.b.da...@gmail.com writes: On Friday 25 June 2010 18:08:22 David Naylor wrote: Hi, java/openjdk6 breaks with FORCE_MAKE_JOBS (it implements its own think). The attached patch fixes openjdk6, marks it as MAKE_JOBS_SAFE and makes it respect MAKE_JOBS_NUMBER. Regards, David P.S. I'm off list Oops. My hack didn't work. With MAKE_JOBS_SAFE _MAKE_JOBS is included but that evaluated to -jN and this is choking the Makefile. Is there an easier way to exclude _MAKE_JOBS? Perhaps set _MAKE_JOBS conditionally in bsd.ports.mk and a port can then do _MAKE_JOBS= Smth like %% Index: Mk/bsd.port.mk @@ -2292,7 +2292,7 @@ _MAKE_JOBS= # .else .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS) MAKE_JOBS_NUMBER?= `${SYSCTL} -n kern.smp.cpus` -_MAKE_JOBS=-j${MAKE_JOBS_NUMBER} +_MAKE_JOBS?= -j${MAKE_JOBS_NUMBER} .if defined(FORCE_MAKE_JOBS) !defined(MAKE_JOBS_SAFE) BUILD_FAIL_MESSAGE+= You have chosen to use multiple make jobs (parallelization) for all ports. This port was not tested for this setting. Please remove FORCE_MAKE_JOBS and retry the build before reporting the failure to the maintainer. .endif %% The attached patch fixes the above problem without touching bsd.ports.mk. You can as well define empty _MAKE_JOBS *after* bsd.port.post.mk. At least it wouldn't be as ugly as redefining do-build target. %% Index: java/openjdk6/Makefile @@ -266,3 +267,6 @@ post-install: @${CAT} ${PKGMESSAGE} .include bsd.port.post.mk + +# XXX: use `?=' in bsd.port.mk +_MAKE_JOBS= %% Regards ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org