Bug 218767 - graphics/dspdfviewer: manpage installed in wrong location
Summary: graphics/dspdfviewer: manpage installed in wrong location
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Philip Paeps
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-20 02:08 UTC by caso.ramiro
Modified: 2017-04-29 10:30 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (santhosh.raju)


Attachments
Changes destination of manpage in CMakeLists.txt (301 bytes, text/plain)
2017-04-20 02:08 UTC, caso.ramiro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description caso.ramiro 2017-04-20 02:08:29 UTC
Created attachment 181926 [details]
Changes destination of manpage in CMakeLists.txt

Port installs man page in /usr/local/share/man/man1 instead of /usr/share/man/man1. As a result, running:

% man dspdfviewer

fails to display the man page. Attached there is a patch to CMakeLists.txt that places the man page in /usr/share/man/man1.
Comment 1 Philip Paeps freebsd_committer freebsd_triage 2017-04-20 10:36:12 UTC
I'll take this one.  Santhosh has another patch coming up.  I'll commit both at the same time to avoid repo churn.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-04-29 10:27:14 UTC
A commit references this bug:

Author: philip
Date: Sat Apr 29 10:26:24 UTC 2017
New revision: 439745
URL: https://svnweb.freebsd.org/changeset/ports/439745

Log:
  - Fix build with LLVM 4.0 on HEAD
  - Install manpage in the correct place [1]
    (bump PORTREVISION to reinstall package)

  PR:		218767
  Submitted by:	caso.ramiro@gmail.com [1]
  		Santhosh Raju <santhosh.raju@gmail.com> (maintainer)

Changes:
  head/graphics/dspdfviewer/Makefile
  head/graphics/dspdfviewer/files/
  head/graphics/dspdfviewer/files/patch-CMakeLists.txt
Comment 3 Philip Paeps freebsd_committer freebsd_triage 2017-04-29 10:30:04 UTC
Committed.  Thanks!