Bug 211188

Summary: print/gl2ps: Invalid variable reference causes broken symlink
Product: Ports & Packages Reporter: Mamoru IWAKI <1wkmmr>
Component: Individual Port(s)Assignee: Marcelo Araujo <araujo>
Status: Closed FIXED    
Severity: Affects Some People CC: 1wkmmr, thierry
Priority: --- Keywords: easy, needs-patch
Version: LatestFlags: bugzilla: maintainer-feedback? (araujo)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223204

Description Mamoru IWAKI 2016-07-18 09:02:04 UTC
Hi

Line 25 of the Makefile has an invalid reference to PREFIX as follows

 ${LN} -s {PREFIX}/lib/libgl2ps.so ${STAGEDIR}${PREFIX}/lib/libgl2ps.so.1

which makes a broken symlink in /usr/local/lib. 

As a workaround, the line should be like this.

 ${LN} -s libgl2ps.so ${STAGEDIR}${PREFIX}/lib/libgl2ps.so.1

Cheers
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2017-12-28 15:59:47 UTC
Fixed in revision 453669 by tijl, Tue Nov 7 17:12:06 2017 UTC.