[Bug 194284] [PATCH] security/p5-GD-SecurityImage: handle OPTIONS_UNSET=X11
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 22 15:25:31 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194284
--- Comment #5 from Mathieu Arnold <mat at FreeBSD.org> ---
(In reply to Frank Wall from comment #4)
> As pointed out in a similar bug report (#194283) my original patch was
> incomplete. I've submitted a new patch.
It will not work. Options helpers must be defined before bsd.port.options.mk
is included.
You should do something along the lines of:
.if ${PORT_OPTIONS:MIMAGEMAGICK}
.if ${PORT_OPTIONS:MX11}
BUILD_DEPENDS+= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
.else
BUILD_DEPENDS+= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick-nox11
RUN_DEPENDS+= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick-nox11
.endif
.endif
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-perl
mailing list