Gentoo Archives: gentoo-dev

From: Jens Hoffrichter <joho@××××××××.org>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Bug in proftpd ebuild?
Date: Mon, 02 Feb 2004 15:51:27
Message-Id: 20040202152826.GM5191@deepthought.hausboot.org
1 Hi everyone,
2
3 I just took a look at the proftpd ebuild, to look if proftpd has mysql
4 support.
5
6 While looking at the ebuild, at the USE-flag setting, there appeared:
7
8 ---- snip (/usr/portage/net-ftp/proftpd/proftpd-1.2.9_rc3.ebuild) ----
9
10 if use mysql; then
11 modules="${modules}:mod_sql:mod_sql_mysql"
12 myconf="--with-includes=/usr/include/mysql"
13 elif use postgres; then
14 modules="${modules}:mod_sql:mod_sql_postgres"
15 myconf="--with-includes=/usr/include/postgresql"
16 fi
17
18 ---- snip ----
19
20 If I read this correctly, if both the mysql and the postgres USE-flags are
21 set, ONLY mysql-support is compiled into proftpd.
22
23 I think this is clearly not what I want to achieve if I set both of the
24 USE flags. I'm not sure if it is a limitation in proftpd to have only one
25 SQL-module compiled in.
26
27 I think at least a warning should be issued if both use flags are set...
28
29 Is this a known bug? Or should I open a bug about it?
30
31 CU al,
32 Jens
33 --
34 GPG: 1024D/CF884D50 F2E8 F7FC F823 6464 4E9D EFAB 6EE9 8B9C CF88 4D50
35 ------------------------------------------------------------------------
36 Jens Hoffrichter / joho@××××××××.org / Joho@IRC / Fon: +43-650-5376989
37 "Entweder sind wir die einzige intelligente Lebensform im Universum,
38 oder wir sind es nicht. Beide Moeglichkeiten sind atemberaubend."
39 - Carl Sagan
40
41 --
42 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Bug in proftpd ebuild? Mike Frysinger <vapier@g.o>