misc/182300: geeqie champlain detection with GSP option
Matthieu Volat
mazhe at alkumuna.eu
Sun Sep 22 15:40:01 UTC 2013
>Number: 182300
>Category: misc
>Synopsis: geeqie champlain detection with GSP option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 22 15:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Matthieu Volat
>Release: 9.2-RC4
>Organization:
>Environment:
FreeBSD freedom.alkumuna.eu 9.2-RC4 FreeBSD 9.2-RC4 #0 r255465: Wed Sep 11 05:11:03 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
graphics/geeqie configure has a hard time with the ill-defined pkgconfig name for champlain, its maps backend: it must be re-harcoded with current version in port (0.8), else maps support won't be activated.
One solution is to sed the correct version in ${WORKSRC}/configure, I've enclosed a naive patch to do so.
>How-To-Repeat:
# cd /usr/port/graphics/geeqie
# make config -> enable GPS
# make (re)install clean
-> unable to add maps wiget, configure output states that champlain 0.4 wasn't found.
>Fix:
Apply following to /usr/ports/graphics/geeqie/Makefile:
--- Makefile.orig 2013-09-22 17:25:43.000000000 +0200
+++ Makefile 2013-09-22 17:30:15.000000000 +0200
@@ -77,5 +77,11 @@
@${REINPLACE_CMD} -e '/^install-data-am:/,/^[a-z]/ s|install-readmeDATA||' \
${WRKSRC}/Makefile.in
.endif
+.if ${PORT_OPTIONS:MGPS}
+ @${REINPLACE_CMD} \
+ -e 's/champlain-0\.4/champlain-0.8/g' \
+ -e 's/champlain-gtk-0\.4/champlain-gtk-0.8/g' \
+ ${WRKSRC}/configure
+.endif
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list