Bug 208875 - www/httrack: unable to run graphical version / command line works fine - /usr/local/webhttrack(17870): could not find /usr/local/bin/ ../share/httrack/html
Summary: www/httrack: unable to run graphical version / command line works fine - /usr...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-17 23:14 UTC by James
Modified: 2016-12-17 13:11 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James 2016-04-17 23:14:28 UTC
Running Freebsd 10.3 Release amd64
Xorg / Lumina Desktop
Have installed httrack both using pkg and ports - uninstalling previous versions before reinstalling
httrack runs fine from command line (xterm)  but when I try to use graphical version / webhttrack I get following error
/usr/local/webhttrack(17870): could not find /usr/local/bin/ ../share/httrack/html
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-12-14 18:36:46 UTC
Please edit Makefile, remove line 44 and rebuild httrack. It seems the error was caused by removed install-data-hook target.

Line 44 is:
        @${REINPLACE_CMD} -e '/ install-data-hook/d' ${WRKSRC}/html/Makefile.in
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-12-14 18:37:37 UTC
(In reply to Sunpoet Po-Chuan Hsieh from comment #1)

Sorry, it should be line 43 now.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-12-17 12:58:42 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Dec 17 12:57:46 UTC 2016
New revision: 428741
URL: https://svnweb.freebsd.org/changeset/ports/428741

Log:
  - Fix webhttrack runtime check
  - Bump PORTREVISION for package change

  install-data-hook: creates a symbolic link from DOCSDIR to DATADIR/html. When
  webhttrack starts, it checks if html directory is available. This commit removes
  the invalid symbolic link and makes an empty directory if DOCS option is
  disabled.

  PR:		208875
  Reported by:	James <knightlyj@gmail.com>

Changes:
  head/www/httrack/Makefile
  head/www/httrack/pkg-plist
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-12-17 13:11:10 UTC
Fixed. Thanks!