Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2014 15:25:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   [Bug 194284] [PATCH] security/p5-GD-SecurityImage: handle OPTIONS_UNSET=X11
Message-ID:  <bug-194284-14331-Q6RVFcC7p4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194284-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194284-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194284

--- Comment #5 from Mathieu Arnold <mat@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194284-14331-Q6RVFcC7p4>