Summary: | sysutils/pkg_install: FBSDID undefined on older systems | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | stolz <stolz> |
Component: | Individual Port(s) | Assignee: | Port Management Team <portmgr> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | portmgr |
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
stolz
2003-09-02 18:20:15 UTC
Responsible Changed From-To: freebsd-ports-bugs->portmgr Over to maintainer. Hi Volker, could you please try the following patch to confirm that this is the only problem building the port on 4.3? I do not have a 4.3 system, and can't test things here. If the port builds we can look for a solution not requiring perl (or we leave it that way, or make a new package) Thanks Oliver --- pkg_install-4.3.patch begins here --- --- Makefile.orig Tue Sep 2 21:57:26 2003 +++ Makefile Tue Sep 2 21:59:32 2003 @@ -41,6 +41,10 @@ .endif .endif +post-extract: + @${FIND} "${WRKSRC}" -name '*.c' \ + | ${XARGS} ${PERL} -pi.orig -e 's/__FBSDID\(("[^"]*")\)/static const char rcsid[] = $$1/' + pre-configure: @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ -e 's,%%MANPREFIX%%,${MANPREFIX},g' \ --- pkg_install-4.3.patch ends here --- On Tue, Sep 02, 2003 at 10:07:04PM +0200, Oliver Eikemeier wrote: > could you please try the following patch to confirm that this is the only > problem building the port on 4.3? I do not have a 4.3 system, and can't test > things here. If the port builds we can look for a solution not requiring > perl It works, thanks. My suggestions: Leave in the ${PERL}, but conditionalise on a FreeBSD-version prior to the cdefs.h commit. Those should always have had perl in base at least. Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine Followup in PR ports/56389: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/56389 State Changed From-To: open->closed Fixed, thanks for reporting. |