[MacPorts] #43566: netpbm @10.66.02_1 Requesting a no_x11 variant
MacPorts
noreply at macports.org
Fri Jan 9 00:48:59 PST 2015
#43566: netpbm @10.66.02_1 Requesting a no_x11 variant
---------------------------------+--------------------------
Reporter: mthomas+macports@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: netpbm |
---------------------------------+--------------------------
Comment (by Mathias.Laurin+macports.org@…):
Replying to [comment:3 mthomas+macports@…]:
> I have attached a second version of the Portfile patch that I hope
addresses the issues. Getting netpbm not to build {{{pamx}}} when X11 is
installed involves patching {{{other/pamx/Makefile}}} to check for a
configuration variable that I have named {{{MACPORTS_X11}}}. The patch
for the {{{Makefile}}} is {{{patch-other-pamx-Makefile.diff}}}, which is
also attached.
Is it not enough to set `X11LIB = NONE` in `${configmk}`?—That
works for me but I do not have x11 installed. In any case, I
believe that it should be set in any case. i.e.
{{{
@@ -84,6 +89,11 @@ TIFFLIB = -ltiff
WANT_SSE = ${want_sse}
ZLIB = -lz
"
+ if {![variant_isset x11]} {
+ puts ${configmk} "
+X11LIB = NONE
+"
+ }
close ${configmk}
}
}}}
I would also like see your patch accepted by the way.
--
Ticket URL: <https://trac.macports.org/ticket/43566#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list