Hi,
Sorry, here's a diff to correct that.
On Fri, Jul 24, 2009 at 01:35:12PM +0200, Karl-Heinz Wild wrote:
> Hi
>
> I did just now because I was looking for something like that - maybe.
> First at all. make without flavor produce an error
>
> r...@mail:/usr/ports/net/pmacct # make
> "Makefile", line 24: Malformed conditional (${FLAVOR:L:Mpostgresql})
> "Makefile", line 24: Missing dependency operator
> "Makefile", line 29: if-less endif
> "Makefile", line 29: Need an operator
> "Makefile", line 31: Malformed conditional (${FLAVOR:L:Mmysql})
> "Makefile", line 31: Missing dependency operator
> "Makefile", line 35: if-less endif
> "Makefile", line 35: Need an operator
> "Makefile", line 37: Malformed conditional (${FLAVOR:L:Msqlite3})
> "Makefile", line 37: Missing dependency operator
> "Makefile", line 42: if-less endif
> "Makefile", line 42: Need an operator
> Fatal errors encountered -- cannot continue
>
> The rest is in work
>
> Regards
> Karl-Heinz
>
> On 24.07.2009, at 13:20, Manuel Pata wrote:
>
>> Hi,
>>
>> Has anyone had the time to take a look at this?
>>
>> Thanks!
>>
>> On Jun 12, 2009, at 9:59 PM, Manuel Pata wrote:
>>
>>> Hi,
>>>
>>> This is a port for pmacct, <http://www.pmacct.net/>
>>> I'm not sure if this is the right way to do flavors, point it out if
>>> i'm doing it wrong please.
>>>
>>>
>>> <pmacct.tar.gz>
>>>
>>> --
>>> Manuel Pata
>>
>> --
>> Manuel Pata
>
>
>
--
Manuel Pata
pata (at) alface (dot) de
--- Makefile.orig Fri Jun 5 20:51:41 2009
+++ Makefile Fri Jul 24 12:40:23 2009
@@ -17,9 +17,11 @@
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-ipv6 \
- --enable-64bit
+ --enable-64bit \
+ --enable-debug
FLAVORS= mysql postgresql sqlite3
+FLAVOR?=
.if ${FLAVOR:L:Mpostgresql}
LIB_DEPENDS += pq.>=2::databases/postgresql