Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2014 14:11:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192878] comms/pr [maintainer] new source location
Message-ID:  <bug-192878-13-P5lMLei7sC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192878-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192878-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192878

--- Comment #13 from John Marino <marino@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:
>=20
> "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)


>=20
> 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:
>=20
> .if !defined(NOPORTDOCS)
> 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
> 	cd ${WRKSRC}/share/doc/pr && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDI=
R}
> .endif



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


>=20
> There are no problems with that, at least. But that's all that
> works.
>=20
> FWIW I tried this, and several variations:
>=20
> (cd ${WRKSRC}/sbin && ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX})
>=20
> 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


>=20
> I used:
>=20
> (cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETCFILES} ${STAGEDIR}${PREFIX})
>=20
> 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 el=
se.=20
I don't see anything wrong them them.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192878-13-P5lMLei7sC>