Re: mysql5 variant

2009-02-23 Thread Joshua Root
Bradley Giesbrecht wrote: > cat `port dir mysql5`/Portfile This can be simplified to: cat `port file mysql5` But even that can be simplified: port cat mysql5 :-) - Josh ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.m

Re: Platform specific flags and universal variants

2009-02-23 Thread Adam Mercer
On Mon, Feb 23, 2009 at 19:33, Ryan Schmidt wrote: > You could do (untested): > > > platform i386 { >if {![variant_isset universal]} { >configure.args-append --enable-sse2 >} > } > > platform powerpc { >if {![variant_isset universal]} { >con

Re: Best practices for config files

2009-02-23 Thread Ryan Schmidt
On Feb 23, 2009, at 19:29, Ryan Schmidt wrote: I suggest you install multiple sample config files and allow the user to choose which of them to copy into place. For example, consider mysql5 which provides you with these files: $ port contents mysql5 | grep cnf /opt/local/share/mysql5/mysql

Re: Platform specific flags and universal variants

2009-02-23 Thread Ryan Schmidt
On Feb 23, 2009, at 18:58, Adam Mercer wrote: I recently modified the fftw-3 and fftw-3-single ports to use the muniversal PortGroup, which greatly simplfies building a universal port but am running into a annoying issue. FFTW needs to be compiled so that it runs as fast as possible, I therefore

Re: Best practices for config files

2009-02-23 Thread Ryan Schmidt
On Feb 23, 2009, at 04:03, Scott Haneda wrote: What are the best practices for providing config files with ports? Provide sample config files. For example, if the software looks for a config file at ${prefix}/etc/${name}/${name}.conf, then you should install a file ${prefix}/etc/${name}/$

Re: Issue with double perl

2009-02-23 Thread Ryan Schmidt
On Feb 23, 2009, at 09:35, Paul Maunders wrote: Jacco Rens-2 wrote: I'm trying to build imapsync on my machine, but it fails with the following error: ---> Installing p5-digest-md5 @2.38_0 ---> Activating p5-digest-md5 @2.38_0 Error: Target org.macports.activate returned: Image error:

Re: mercurial: "hg convert" cannot find `svn' python bindings

2009-02-23 Thread Ryan Schmidt
On Feb 23, 2009, at 10:30, Joerg van den Hoff wrote: On Sun, Feb 22, 2009 at 09:23:08PM -0600, Ryan Schmidt wrote: On Feb 22, 2009, at 11:30, Joshua Root wrote: Joerg van den Hoff wrote: ---> Deactivating libiconv @1.12_0 Error: Deactivating libiconv 1.12_0 failed: Active version of libic

Re: error near build_libtool_libs

2009-02-23 Thread Ryan Schmidt
On Feb 23, 2009, at 10:36, William Davis wrote: On Feb 22, 2009, at 10:11 PM, Ryan Schmidt wrote: On Feb 22, 2009, at 11:01, William Davis wrote: the following error appears in something like 6 ports: checking for gawk... gawk checking whether make sets $(MAKE)... yes ./configure: line 2554

Platform specific flags and universal variants

2009-02-23 Thread Adam Mercer
Hi I recently modified the fftw-3 and fftw-3-single ports to use the muniversal PortGroup, which greatly simplfies building a universal port but am running into a annoying issue. FFTW needs to be compiled so that it runs as fast as possible, I therefore need to pass specific options to configure d

Re: failed attempt to upgrade some ports

2009-02-23 Thread William Davis
you need to do: sudo port -d selfupdate so you can get this change: Commit by b...@macports.org :: r47223 /trunk/dports/databases/db46/ Portfile: (link) http://trac.macports.org/changeset/47223 databases/db46 - Oracle stealth-updated patch 3, so update checksum, ticket #18515 (maintainer ti

Re: failed attempt to upgrade some ports

2009-02-23 Thread Alejandro Marcos Aragón
Thanks for replying, I'll try that. aa On Mon, 2009-02-23 at 23:15 +0100, Rainer Müller wrote: > Alejandro Aragon wrote: > > Hi, I still cannot upgrade the programs, even after forcing the clean: > > Sorry, in my previous mail it should have read: > sudo port -f clean --all db46 > sudo port

Re: failed attempt to upgrade some ports

2009-02-23 Thread Rainer Müller
Alejandro Aragon wrote: > Hi, I still cannot upgrade the programs, even after forcing the clean: Sorry, in my previous mail it should have read: sudo port -f clean --all db46 sudo port install db46 The --all switch also removes already downloaded distfiles and that's what I meant originally.

Re: failed attempt to upgrade some ports

2009-02-23 Thread Bryan Blackburn
On Mon, Feb 23, 2009 at 02:33:33PM -0600, Alejandro Aragon said: > Hi, I still cannot upgrade the programs, even after forcing the clean: [...] > ---> Verifying checksum(s) for db46 > Error: Checksum (md5) mismatch for patch.4.6.21.3 Try again once you sync again (about thirty minutes after this

Re: mysql5 variant

2009-02-23 Thread Bradley Giesbrecht
Adds startupitem, user/group among other tasks. cat `port dir mysql5`/Portfile variant server { # Create a startupitem to start/stop the server startupitem.create yes startupitem.start "${prefix}/share/${mysql}/mysql/mysql.server start" startupitem.stop"${prefix}/share/

Re: failed attempt to upgrade some ports

2009-02-23 Thread Alejandro Aragon
Hi, I still cannot upgrade the programs, even after forcing the clean: aara...@~$sudo port -f clean xorg-libs ---> Cleaning xorg-libs aara...@~$sudo port -f clean xorg-libxcb ---> Cleaning xorg-libxcb aara...@~$sudo port -f clean xorg-xcb-proto ---> Cleaning xorg-xcb-proto aara...@~$sudo port

Re: mercurial: "hg convert" cannot find `svn' python bindings

2009-02-23 Thread Daniel Ericsson
thanks. yes, it does. question: could this somehow explain my > `hg convert' problem? I guess not, but ... Maintainer of mercurial here, will investigate this a bit later tonight and report if I find something. -- Daniel ___ macports-users mailing list

Re: error near build_libtool_libs

2009-02-23 Thread William Davis
On Feb 22, 2009, at 10:11 PM, Ryan Schmidt wrote: On Feb 22, 2009, at 11:01, William Davis wrote: the following error appears in something like 6 ports: checking for gawk... gawk checking whether make sets $(MAKE)... yes ./configure: line 2554: syntax error near unexpected token `build_li

Re: mercurial: "hg convert" cannot find `svn' python bindings

2009-02-23 Thread Daniel J. Luke
On Feb 23, 2009, at 11:28 AM, Joerg van den Hoff wrote: unfortenuately, I'm rather clueless where the problem actually is. I don't use mercurial, so I'm not really going to be much help. I did quickly look through the subversion python bindings and I did not see any references to the python

Re: mercurial: "hg convert" cannot find `svn' python bindings

2009-02-23 Thread Joerg van den Hoff
On Sun, Feb 22, 2009 at 09:23:08PM -0600, Ryan Schmidt wrote: > > On Feb 22, 2009, at 11:30, Joshua Root wrote: > >> Joerg van den Hoff wrote: >>> ---> Deactivating libiconv @1.12_0 >>> Error: Deactivating libiconv 1.12_0 failed: Active version of >>> libiconv is not 1.12_0 but 1.12_0+darwin_8.

Re: mercurial: "hg convert" cannot find `svn' python bindings

2009-02-23 Thread Joerg van den Hoff
On Mon, Feb 23, 2009 at 09:19:52AM -0500, Daniel J. Luke wrote: > On Feb 22, 2009, at 10:07 AM, Joshua Root wrote: >>> am I missing something or is it a bug?? >> >> Looks like something needs to depend on py25-socket-ssl? > > > I would think that it would be mercurial that needs it, since you can d

Re: Issue with double perl

2009-02-23 Thread Paul Maunders
Jacco Rens-2 wrote: > > Hi Listmembers, > > I'm trying to build imapsync on my machine, but it fails with the > following error: > > > ---> Installing p5-digest-md5 @2.38_0 > ---> Activating p5-digest-md5 @2.38_0 > Error: Target org.macports.activate returned: Image error: /opt/local/

Re: mercurial: "hg convert" cannot find `svn' python bindings

2009-02-23 Thread Daniel J. Luke
On Feb 22, 2009, at 10:07 AM, Joshua Root wrote: am I missing something or is it a bug?? Looks like something needs to depend on py25-socket-ssl? I would think that it would be mercurial that needs it, since you can do 'import svn' from python and it works enough for trac and to pass its

Re: texlive_base failed to build

2009-02-23 Thread Emmanuel Hainry
Citando Ryan Schmidt : > On Feb 22, 2009, at 18:17, David Epstein wrote: > >> In desperation, I downloaded MacTex (not via MacPorts), and the >> installation seemed to go OK. But when I tried to use it, I got an >> error message that /opt/local/bin/pdflatex didn't exist. I was >> surprised by this

Re: mysql5 variant

2009-02-23 Thread Rainer Müller
Scott Haneda wrote: > What is the +server variant for in mysql5? I looked at the port > source, and am no sure. I did port variant mysql5 and it did not tell > me much. The theory is that mysql5 +server will not only install the mysql5 client libs, but also the server. But due to a bug in t

mysql5 variant

2009-02-23 Thread Scott Haneda
What is the +server variant for in mysql5? I looked at the port source, and am no sure. I did port variant mysql5 and it did not tell me much. -- Scott * If you contact me off list replace talklists@ with scott@ * ___ macports-users mailing l

Best practices for config files

2009-02-23 Thread Scott Haneda
What are the best practices for providing config files with ports? I am working with a friend to make an all in one ISP solution, email, dns, database, webmail, etc etc. Sort of a cpanel done right on the Mac. Let'stake Roundcube for example, there is not a port that I can see. This is