[MacPorts] #17114: New Port: HAProxy
MacPorts
noreply at macports.org
Thu Nov 6 15:25:06 PST 2008
#17114: New Port: HAProxy
---------------------------------+------------------------------------------
Reporter: sam at samgranieri.com | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Submissions
Component: ports | Version: 1.6.0
Keywords: haproxy | Port:
---------------------------------+------------------------------------------
I like using HA Proxy and decided to write my first portfile for it.
However, I need some help on the portfile.
I've tried building it two ways:
1. {{{make -f Makefile.osx}}}
1. {{{make TARGET=osx}}}
Here's the build log from {{{make -f Makefile.osx}}}
http://pastie.org/309129
And here's the build log from {{{make TARGET=osx}}}
http://pastie.org/309138
The two builds do not output the same text when the user types {{{haproxy
-v}}}
Build #1
{{{
sam at sam.local(master)> haproxy -v
HA-Proxy version
Copyright 2000-2008 Willy Tarreau <w at 1wt.eu>
}}}
Build #2
{{{
sam at sam.local(master)> haproxy -v
HA-Proxy version 1.3.15.6 2008/11/04
Copyright 2000-2008 Willy Tarreau <w at 1wt.eu>
}}}
By looking at the build log I can see that build #2 sets the correct date.
{{{-DCONFIG_HAPROXY_VERSION=\"1.3.15.6\"
-DCONFIG_HAPROXY_DATE=\"2008/11/04\"}}}
Would I need to make a patch to Makefile.osx, or possibly use the macports
reinplace function to get the correct output?
Any guidance would be much appreciated, and thank you Willy for some great
software!
--
Ticket URL: <http://trac.macports.org/ticket/17114>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list