ports/141859: www/webkit-gtk2: ensure dependence on the right "flex" program [PATCH]
Carlos A. M. dos Santos
unixmania at gmail.com
Tue Dec 22 02:30:05 UTC 2009
>Number: 141859
>Category: ports
>Synopsis: www/webkit-gtk2: ensure dependence on the right "flex" program [PATCH]
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 22 02:30:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Carlos A. M. dos Santos
>Release: 9.0-CURRENT
>Organization:
N.A.
>Environment:
FreeBSD avatar 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Mon Dec 7 03:06:31 UTC 2009 root at avatar:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The BUILD_DEPENDS variable is not set correctly in the webkit-gtk2 port. So if the flex port is not installed previously (possibly to build another port) /usr/bin/flex is used and the build fails. I noticed this because I removed the flex port from my system right before attempting to build webkit-gtk2.
>How-To-Repeat:
cd /usr/ports/www/webkit-gtk2
make depends
pkg_delete flex-2.5.35_1
make depends
It will say "webkit-gtk2-1.1.15.4 depends on executable: flex - found"
>Fix:
Apply the patch contained in the attachment.
Patch attached with submission follows:
diff -durP ../ports/www/webkit-gtk2/Makefile www/webkit-gtk2/Makefile
--- ../ports/www/webkit-gtk2/Makefile 2009-11-29 17:03:54.000000000 -0200
+++ www/webkit-gtk2/Makefile 2009-12-21 23:15:31.000000000 -0200
@@ -15,7 +15,7 @@
MAINTAINER= gnome at FreeBSD.org
COMMENT= An opensource browser engine
-BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex
+BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
LIB_DEPENDS= icutu.38:${PORTSDIR}/devel/icu \
enchant.1:${PORTSDIR}/textproc/enchant \
curl.5:${PORTSDIR}/ftp/curl \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list