HEADS UP: default CONFIGURE_ARGS (CONFIGURE_TARGET) is updated
Dear porters, I just committed a change that affects all ports that use GNU_CONFIGURE (include those who use autotools). The default syntax for CONFIGURE_TARGET in CONFIGURE_ARGS is updated to use the new syntax for autoconf 2.13. That is, we will use --build=${CONFIGURE_TARGET} where applicable. Ports no longer need to change CONFIGURE_TARGET. Thanks, Rong-En Fan - Forwarded message from Rong-En Fan [EMAIL PROTECTED] - From: Rong-En Fan [EMAIL PROTECTED] Date: Thu, 21 Aug 2008 06:18:49 + (UTC) To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: cvs commit: ports/Mk bsd.gnome.mk bsd.kde.mk bsd.port.mk ports/accessibility/yasr Makefile ports/archivers/advancecomp Makefile ports/archivers/arj Makefile ports/archivers/dact Makefile ports/archivers/gzip Makefile ports/archivers/libmspack ... rafan 2008-08-21 06:18:49 UTC FreeBSD ports repository Modified files: [...] Log: Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. Specifically, newer autoconf ( 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases. To workaround this issue, many ports hack the CONFIGURE_TARGET variable so that it contains the ``--build='' prefix. To solve this issue, under the fact that some ports still have configure script generated by the old autoconf, we use runtime detection in the do-configure target so that the proper argument can be used. Changes to Mk/*: - Add runtime detection magic in bsd.port.mk - Remove CONFIGURE_TARGET hack in various bsd.*.mk - USE_GNOME=gnometarget is now an no-op Changes to individual ports, other than removing the CONFIGURE_TARGET hack: = pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables) - comms/gnuradio - science/abinit - science/elmer-fem - science/elmer-matc - science/elmer-meshgen2d - science/elmerfront - science/elmerpost = use x86_64 as ARCH - devel/g-wrap = other changes - print/magicfilter GNU_CONFIGURE - HAS_CONFIGURE since it's not generated by autoconf Total # of ports modified: 1,027 Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes) PR: 126524 (obsoletes 52917) http://www.FreeBSD.org/cgi/query-pr.cgi?pr=126524 Submitted by: rafan Tested on: two pointyhat 7-amd64 exp runs (by pav) Approved by:portmgr (pav) [...] - End forwarded message - pgpwBfCEpJPEq.pgp Description: PGP signature
Re: amule 2 port - trying an upgrade
On Mon, Aug 18, 2008 at 10:31:21PM +0200, Torfinn Ingolfsen wrote: As a first try, I have come up with the following diff[1]. The port compiles fine, but the installation step fails, because most of the man pages doesn't get installed. Here is the relevant part of the 'make install': === Compressing manual pages for aMule-2.2.2_1 gzip: can't stat: /usr/local/man/man1/cas.1: No such file or directory [snip] gzip: can't stat: /usr/local/man/hu/man1/amule.1: No such file or directory === Registering installation for aMule-2.2.2_1 Any hnts on how I fix this? I have read the man pages[2] chapter in the Porter's Handbook, but it didn't help me. AFAICT, the Makefile.man should work as is. Port system does not install man pages for you. This should be done by the build scripts in the distribution tarball. You should probably look at various Makefiles* and/or configure script. FYI, the port failed to patch with your diff: === Applying FreeBSD patches for aMule-2.2.2_1 1 out of 2 hunks failed--saving rejects to src/amuleDlg.cpp.rej = Patch patch-amuleDlg.cpp failed to apply cleanly. *** Error code 1 Alexey. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Interesting dependency graph for kde4
hi, I had a clean machine with 8-CURRENT with only vim-lite installed (and its dependencies). To add some useful packages, I ran pkg_add -r xorg (which went as expected) and pkg_add -r kde4 (hmmm). Adding kde4 this way pulled, among other things: mysql-server-5.0, subversion, boost and boost-python, net-snmp (daemon), cyrus-sasl, gstreamer and gstreamer-plugins. I'm not exactly complaining, just find it... curious :). ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
unBREAK cad/brlcad on CURRENT.
Hello list! After recent commit of MPSAFE TTY layer cad/brlcad builds and runs successfully on CURRENT: uname -a FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Aug 20 17:15:25 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 However, it is marken as BROKEN= does not compile. The relevant PR, when it was marked BROKEN is http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/124733 The reason for this was not the changes in TTY layer (namely, in termios.h), but rather some white space problem on tinderbox. From brlcad-7.12.4.log: [snip] configure: configuring in misc/enigma [snip] configure: loading cache ../../config.cache.freebsd8.0.regis.goodking.ca configure: error: `CFLAGS' has changed since the previous run: configure: former value: -O2 -pipe -fno-strict-aliasing configure: current value: -O2 -pipe -fno-strict-aliasing configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../../config.cache.freebsd8.0.regis.goodking.ca' and start over configure: error: /bin/sh './configure' failed for misc/enigma [snip] I cannot reproduce this error during normal build. Could someone familiar with tinderbox environment unBREAK the port? Should I file a PR? Thanks, Alexey. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interesting dependency graph for kde4
On Thu, 21 Aug 2008 12:57:00 +0200 Ivan Voras [EMAIL PROTECTED] wrote: hi, I had a clean machine with 8-CURRENT with only vim-lite installed (and its dependencies). To add some useful packages, I ran pkg_add -r xorg (which went as expected) and pkg_add -r kde4 (hmmm). Adding kde4 this way pulled, among other things: mysql-server-5.0, subversion, boost and boost-python, net-snmp (daemon), cyrus-sasl, gstreamer and gstreamer-plugins. I don't see why gstreamer is surprising unless you were assuming the g stood for Gnome - anyway it's progressively replacing arts in KDE. mysql-server is the back-end for kpim, cyrus-sasl is a common dependency of mail clients, so I guess it's for kmail. subversion comes in with the developer tools. net-snmp does install daemons, but they're off by default. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ejabberd 2.0.0 ?
On Thu, 2008-04-24 at 11:37 +0200, Bogdan Ćulibrk wrote: Shaun Amott wrote: On Thu, Mar 27, 2008 at 01:36:26PM +0100, Olivier Mueller wrote: Hello, Are there any plans to update the port with the latest ejabberd (2.0.0) version? Latest release was about 1 month ago: http://www.process-one.net/en/news/article/ejabberd_200_has_been_released/ Otherwise I'll just try to install it by hand :) Yes, I've been working on an update. Some dependency failed when I was building it previously it and I didn't get around to trying again. is there any news on this topic? Another month has passed and yet no 2.0 in ports. 3 more months later now... and in the mean time, 2.0.1 is out according to http://www.ejabberd.im/ . Holiday are finished here, and I will finally upgrade my good old jabberd server (hw too) to ejabberd in a few weeks in September, with some luck it will be with a nice new port for 2.0.1 or by hand ? ;-) regards, Olivier ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Interesting dependency graph for kde4
On Thu, 21 Aug 2008, RW wrote: On Thu, 21 Aug 2008 12:57:00 +0200 Ivan Voras [EMAIL PROTECTED] wrote: hi, I had a clean machine with 8-CURRENT with only vim-lite installed (and its dependencies). To add some useful packages, I ran pkg_add -r xorg (which went as expected) and pkg_add -r kde4 (hmmm). Adding kde4 this way pulled, among other things: mysql-server-5.0, subversion, boost and boost-python, net-snmp (daemon), cyrus-sasl, gstreamer and gstreamer-plugins. I don't see why gstreamer is surprising unless you were assuming the g stood for Gnome - anyway it's progressively replacing arts in KDE. mysql-server is the back-end for kpim, cyrus-sasl is a common dependency of mail clients, so I guess it's for kmail. subversion comes in with the developer tools. net-snmp does install daemons, but they're off by default. If you remove kdenetwork4 (kopete), kdeutils4 (kgpg, kuser) then you can remove kdepimlibs4, followed by akonadi then mysql. I'm not sure why kdepimlibs is required by the base system when it does not appear to be. No binaries or libraries show that they are missing shared libs. There might be some plugins that you'll do without, though. Gstreamer is a phonon requirement, although I thought it used xine... ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: amule 2 port - trying an upgrade
Hello, On Thu, Aug 21, 2008 at 12:55 PM, Alexey Shuvaev [EMAIL PROTECTED] wrote: Port system does not install man pages for you. This should be done by the build scripts in the distribution tarball. You should probably look at various Makefiles* and/or configure script. Yes, I know. I have looked at the various Makefiles and the configure scripts. It looks like tha man pages should be installed, but for some reason they don't, and I don't understand why FYI, the port failed to patch with your diff: Strange it worked here. Maybe I messed up something. Anyway, I have made a new diff (attached). And this time I have testedc it on a fresh copy of the ports directory. It applies fine. In this version, I just try to get the english man pages insalled, to simplify my searc for bugs. Still the problen is the same: the ports own install system (Makefiles, autmake, whatever) doesn't want to install any other man paes than xas.1 and I don't understand why. Of course this means that the FreeBSD ports system can't find the man pages when it tries to gzip them. Any hints welcome. -- Regards, Torfinn Ingolfsen --- amule2.org/Makefile 2008-06-09 00:20:03.0 +0200 +++ amule2/Makefile 2008-08-21 21:17:27.0 +0200 @@ -6,33 +6,39 @@ # PORTNAME= aMule -PORTVERSION= 2.1.3 -PORTREVISION= 7 +PORTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/amule -PATCH_SITES= http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/ -PATCHFILES= aMule-wx.patch?rev=1.2 -PATCH_DIST_STRIP= -p1 - MAINTAINER= [EMAIL PROTECTED] COMMENT= The all-platform eMule p2p client +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \ + ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp +LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl + LATEST_LINK= aMule2 CONFLICTS= aMule-1.* aMule-devel-[0-9]* ed2k-hash-* USE_BZIP2= yes +USE_XORG= x11 USE_GNOME= gnomehier gnomehack gnomeprefix USE_GMAKE= yes +USE_GETTEXT= yes USE_WX= 2.8 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes -CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --disable-debug \ + --mandir=${MANPREFIX}/man \ --without-included-gettext \ - --with-libintl-prefix=${LOCALBASE} \ - --with-libiconv-prefix=${LOCALBASE} \ - --enable-embedded_crypto + --with-wx-config=${WX_CONFIG} \ + --with-gdlib-prefix=${LOCALBASE} \ + --with-libpng-prefix=${LOCALBASE} \ + --with-crypto-prefix=${LOCALBASE} \ + --enable-monolithic CONFIGURE_ENV= CPPFLAGS=${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS} \ LDFLAGS=${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS} @@ -48,20 +54,14 @@ .include bsd.port.pre.mk -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes -.else -CONFIGURE_ARGS+= --disable-nls -.endif - # Configure options -.if !defined(WITHOUT_OPTIMIZE) +.if defined(WITH_OPTIMIZE) CONFIGURE_ARGS+= --enable-optimize .else CONFIGURE_ARGS+= --disable-optimize .endif -.if !defined(WITHOUT_ED2K) +.if defined(WITH_ED2K) CONFIGURE_ARGS+= --enable-ed2k PLIST_SUB+= PL_ED2K= .else @@ -69,7 +69,7 @@ PLIST_SUB+= PL_ED2K=@comment .endif -.if !defined(WITHOUT_AMULECMD) +.if defined(WITH_AMULECMD) CONFIGURE_ARGS+= --enable-amulecmd PLIST_SUB+= PL_AMULECMD= .else @@ -77,7 +77,7 @@ PLIST_SUB+= PL_AMULECMD=@comment .endif -.if !defined(WITHOUT_AMULEWEBSRV) +.if defined(WITH_AMULEWEBSRV) CONFIGURE_ARGS+= --enable-webserver PLIST_SUB+= PL_AMULEWEBSRV= .else @@ -85,7 +85,7 @@ PLIST_SUB+= PL_AMULEWEBSRV=@comment .endif -.if !defined(WITHOUT_CAS) +.if defined(WITH_CAS) CONFIGURE_ARGS+= --enable-cas --enable-wxcas PLIST_SUB+= PL_CAS= .else @@ -93,7 +93,7 @@ PLIST_SUB+= PL_CAS=@comment .endif -.if !defined(WITHOUT_ALC) +.if defined(WITH_ALC) CONFIGURE_ARGS+= --enable-alc --enable-alcc PLIST_SUB+= PL_ALC= .else @@ -110,31 +110,11 @@ PLIST_SUB+= PL_AMULEDAEMON=@comment .endif -.if !defined(WITHOUT_WXUNICODE) +.if defined(WITH_WXUNICODE) WX_UNICODE=yes .endif # Man pages management .include Makefile.man -post-install: -# fr manpages are still incomplete and can't be managed -# by MANLANG. Will be done when pages are complete. -.if defined(WITH_AMULECMD) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/amulecmd.1 -.endif -.if defined(WITH_AMULEWEBSRV) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/amuleweb.1 -.endif - ${GZIP_CMD} ${PREFIX}/man/fr/man1/amule.1 -.if defined(WITH_AMULEDAEMON) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/amuled.1 -.endif -.if defined(WITH_ED2K) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/ed2k.1 -.endif -.if defined(WITH_ALC) - ${GZIP_CMD} ${PREFIX}/man/fr/man1/alcc.1 -.endif - .include bsd.port.post.mk --- amule2.org/Makefile.man 2006-01-04 06:59:25.0 +0100 +++ amule2/Makefile.man 2008-08-21 22:04:53.0 +0200 @@ -1,12 +1,12 @@ # TODO : Add fr here when pages are complete -MANLANG= de es hu +MANLANG= MANCOMPRESSED= no .if defined(WITH_CAS) -MAN1+= cas.1 -MAN1+= wxcas.1 +MAN1_EN+= cas.1