[Bug 192878] comms/pr [maintainer] new source location

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 22 14:11:41 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192878

--- Comment #13 from John Marino <marino at FreeBSD.org> ---
(In reply to C Hutchinson from comment #12)
> Well. I'm stumped.
> Using your example verbatim, and in every other possible variance,
> the build fails with:
> 
> "Makefile", line 33: Missing dependency operator

attach your working version of the makefile so I can see it (not shar, just
upload it as it is)


> 
> for all three lines (33, 34, 35).
> I've also copied blocks that use your same technique, out of other
> ports. But same results. I've also used examples out of the porters
> handbook. Same results. Altho, you will probably be happy to know
> I've changed the DOC install block to something you'd probably
> approve of:
> 
> .if !defined(NOPORTDOCS)
> 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
> 	cd ${WRKSRC}/share/doc/pr && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
> .endif



unfortunately NOPORTDOCS is deprecated.  portlint should complain.
Just define OPTIONS_DEFINE=DOCS and use PORT_OPTIONS:MDOCS, there a thousand
examples in ports


> 
> There are no problems with that, at least. But that's all that
> works.
> 
> FWIW I tried this, and several variations:
> 
> (cd ${WRKSRC}/sbin && ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX})
> 
> I had to use INSTALL_SCRIPT to avoid strip(1) being called against
> ${PROGRAMS}. Which are simply Perl scripts.

INSTALL_SCRIPT is correct in this case


> 
> I used:
> 
> (cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETCFILES} ${STAGEDIR}${PREFIX})
> 
> for the .conf, and rc(8) files. But same results.
> OH well.

I suspect the error message you get isn't for these lines, but something else. 
I don't see anything wrong them them.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list