A simple solution would be to make both mysql and postgresql provide a 
virtual package 'generic sql database' or something like that; and then 
have drupal depend on that virtual package. This trick has been done for 
more things which multiple packages can provide, such as random-glx-app 
requiring either a nvidia or an ati GLX provider.

bardo wrote:
> Hi all.
> 
> I'm the packager of drupal, a popular CMS (you can find it in the
> AUR). It needs a database, qhich could be mysql as well as postgresql,
> so either of the two would satisfy its dependency. My build asks for
> mysql (since it's the one I use), but recently a user asked me if I
> did something particular that excluded the use of postgresql, and if I
> could remove the mysql dependency.
> 
> Removing all db dependencies would break the dep system (whose purpose
> is "if you install the program X, then you're sure you have everything
> to make it work"), so I won't do it, but luke is right saying I
> shouldn't close the door to other dbs... The best thing would be a way
> of saying to pacman that I need mysql *or* postgre.
> 
> I'd also like to point out that drupal is written in php, so it is
> interpreted. This means that it is not bound to any specific database,
> it's only a configuration matter.
> 
> I'd like to hear your opinion about this issue.
> 
> 
> bardo
> 
> _______________________________________________
> arch mailing list
> [email protected]
> http://www.archlinux.org/mailman/listinfo/arch

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to