[op5-users] Merlin Makefile for FreeBSD.

Patrik Båt Patrik.Bat at cypoint.se
Tue Jul 14 10:56:03 CEST 2009


Sure thing...

The only thing  is you need to specify the path to libdbi...

DAEMON_LDFLAGS = ${CPPFLAGS} -ldbi -ggdb3
And
gmake CPPFLAGS="-I/usr/local/include -L/usr/local/lib"

Fixes that.

From: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] On Behalf Of Andreas Ericsson
Sent: Tuesday, July 14, 2009 10:45 AM
To: Mailinglist for op5's products
Subject: Re: [op5-users] Merlin Makefile for FreeBSD.

On Tue, Jul 14, 2009 at 10:04 AM, Patrik Båt <Patrik.Bat at cypoint.se<mailto:Patrik.Bat at cypoint.se>> wrote:
Updated again...

-----Original Message-----
From: op5-users-bounces at lists.op5.com<mailto:op5-users-bounces at lists.op5.com> [mailto:op5-users-bounces at lists.op5.com<mailto:op5-users-bounces at lists.op5.com>] On Behalf Of Patrik Båt
Sent: Tuesday, July 14, 2009 9:59 AM
To: Mailinglist for op5's products
Subject: Re: [op5-users] Merlin Makefile for FreeBSD.

The last diff was inverted...

-----Original Message-----
From: op5-users-bounces at lists.op5.com<mailto:op5-users-bounces at lists.op5.com> [mailto:op5-users-bounces at lists.op5.com<mailto:op5-users-bounces at lists.op5.com>] On Behalf Of Patrik Båt
Sent: Tuesday, July 14, 2009 9:54 AM
To: op5-users at lists.op5.com<mailto:op5-users at lists.op5.com>
Subject: [op5-users] Merlin Makefile for FreeBSD.

Hello!

I have rewrite the Makefile to fit Freebsd.

Just install the ports $(ls /usr/ports/*/libdbi*/)


Your patch breaks the Makefile for GNU Make, and for everyone who doesn't have a /usr/local/include directory.
If you want to write a Makefile for bsd make, please add a new file called Makefile.bsd and submit a patch for
that. Since I don't have access to any *bsd systems, you'll have to keep it up to date yourself.

You should be able to do

   gmake CPPFLAGS=-I/usr/local/include

and then get it right though. If that doesn't work, I'll amend it so it does.
--
Andreas Ericsson                   andreas.ericsson at op5.se<mailto:andreas.ericsson at op5.se>
OP5 AB                             www.op5.se<http://www.op5.se>
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.op5.com/pipermail/op5-users/attachments/20090714/c30313d0/attachment.html 


More information about the op5-users mailing list