pkgsrc-Bugs archive

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

pkg/54444: graphics/sane-backends does not install on macos



>Number:         54444
>Category:       pkg
>Synopsis:       graphics/sane-backends does not install on macos
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 07 13:40:00 +0000 2019
>Originator:     clement bouvier
>Release:        current
>Organization:
>Environment:
macOS Mojave 10.14.6
>Description:
graphics/sane-backends does not install on macos.

=> Checking file-check results for sane-backends-1.0.27
ERROR: ************************************************************
ERROR: The following files are in /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg but not in the PLIST:
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/lib/sane/libsane-kvs40xx.1.so
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/lib/sane/libsane-kvs40xx.a
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/lib/sane/libsane-kvs40xx.la
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/lib/sane/libsane-kvs40xx.so
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/man/man5/sane-kvs40xx.5

>How-To-Repeat:
install graphics/sane-backends
>Fix:
 Adding a PLIST variable "kvs40xx" with lib/sane/libsane-kvs40xx.la and man/man5/sane-kvs40xx.5 in PLIST solves the problem.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/Makefile,v
retrieving revision 1.69
diff -u -r1.69 Makefile
--- Makefile	15 May 2018 13:19:50 -0000	1.69
+++ Makefile	7 Aug 2019 13:35:52 -0000
@@ -25,13 +25,14 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-PLIST_VARS+=		mustek pint sm3600
+PLIST_VARS+=		mustek pint sm3600 kvs40xx
 
 .if (${OPSYS} == "SunOS") || (${OPSYS} == "Linux") || (${OPSYS} == "DragonFly") || (${OPSYS} == "FreeBSD")
 PLIST.sm3600=		yes
 .elif (${OPSYS} == "Darwin")
 PLIST.mustek=		yes
 PLIST.sm3600=		yes
+PLIST.kvs40xx=          yes
 .else
 PLIST.pint=		yes
 PLIST.sm3600=		yes
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/PLIST,v
retrieving revision 1.33
diff -u -r1.33 PLIST
--- PLIST	15 May 2018 14:58:08 -0000	1.33
+++ PLIST	7 Aug 2019 13:35:52 -0000
@@ -71,6 +71,7 @@
 lib/sane/libsane-kodakaio.la
 lib/sane/libsane-kvs1025.la
 lib/sane/libsane-kvs20xx.la
+${PLIST.kvs40xx}lib/sane/libsane-kvs40xx.la
 lib/sane/libsane-leo.la
 lib/sane/libsane-lexmark.la
 lib/sane/libsane-ma1509.la
@@ -156,6 +157,7 @@
 man/man5/sane-kodakaio.5
 man/man5/sane-kvs1025.5
 man/man5/sane-kvs20xx.5
+${PLIST.kvs40xx}man/man5/sane-kvs40xx.5
 man/man5/sane-leo.5
 man/man5/sane-lexmark.5
 man/man5/sane-ma1509.5



Home | Main Index | Thread Index | Old Index