pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50387: www/midori: Cannot compile: (only with modular-xorg ?)



>Number:         50387
>Category:       pkg
>Synopsis:       www/midori: Cannot compile:  (only with modular-xorg ?)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 01 14:50:01 +0000 2015
>Originator:     YAMASHIRO, Jun
>Release:        NetBSD/amd64 7.99.21
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD yamajun 7.99.21 NetBSD 7.99.21 (YAMAJUN) #18: Mon Oct  5 19:24:24 JST 2015  yamajun@yamajun:/usr/obj/sys/arch/amd64/compile/YAMAJUN amd64
>Description:
compile failed message with " fatal error: X11/extensions/scrnsaver.h: No such file or directory".

Note: I compiled on modular-xorg environment.
>How-To-Repeat:
# cd pkgsrc/www/midori
# make

(snip)

[ 54%] Building C object midori/CMakeFiles/midori-core.dir/midori-session.c.o
[ 54%] Building C object midori/CMakeFiles/midori-core.dir/midori-history.c.o
[ 55%] /usr/pkgsrc/www/midori/work/midori-0.5.11/midori/midori-browser.c:58:42: fatal error: X11/extensions/scrnsaver.h: No such file or directory
     #include <X11/extensions/scrnsaver.h>
                                          ^
compilation terminated.
midori/CMakeFiles/midori-core.dir/build.make:413: recipe for target 'midori/CMakeFiles/midori-core.dir/midori-browser.c.o' failed
gmake[2]: *** [midori/CMakeFiles/midori-core.dir/midori-browser.c.o] Error 1

>Fix:
Apply this patch to pkgsrc/www/midori/Makefile


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/midori/Makefile,v
retrieving revision 1.85
diff -u -r1.85 Makefile
--- Makefile	25 Oct 2015 13:50:22 -0000	1.85
+++ Makefile	31 Oct 2015 00:29:50 -0000
@@ -55,4 +55,5 @@
 .include "../../sysutils/libnotify/buildlink3.mk"
 BUILDLINK_DEPMETHOD.vala= build
 .include "../../lang/vala/buildlink3.mk"
+.include "../../x11/libXScrnSaver/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index