pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
urlview missing essential component [FIX]
Package textproc/urlview won't install the 'url_handler.sh' script. This
script is essential to urlview's operation, since it's the default
command to open a URL (unless configured otherwise by the user). So,
missing that, urlview - as installed - will just fail.
The upstream source package doesn't install the script automatically
either, so we can't rely on its 'make install' phase. A workaround is
presented in the attached patches.
=====BEGIN PATCHES=====
--- Makefile.orig 2013-06-14 10:19:35.000000000 +0200
+++ Makefile 2013-06-14 10:26:57.000000000 +0200
@@ -11,6 +11,9 @@
INSTALLATION_DIRS= ${PKGMANDIR}/man1
+post-install:
+ cp -p ${WRKSRC}/url_handler.sh ${DESTDIR}/${PREFIX}/bin/
+
GNU_CONFIGURE= yes
.include "../../devel/ncurses/buildlink3.mk"
--- PLIST.orig 2013-06-14 10:19:16.000000000 +0200
+++ PLIST 2013-06-14 09:41:40.000000000 +0200
@@ -1,3 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:09 zuntum Exp $
bin/urlview
+bin/url_handler.sh
man/man1/urlview.1
=====END PATCHES=====
Home |
Main Index |
Thread Index |
Old Index