Bug 229765 - [PATCH] databases/ldb post-install fails with NO_PYTHON set
Summary: [PATCH] databases/ldb post-install fails with NO_PYTHON set
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: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-14 06:15 UTC by cyberleo
Modified: 2018-07-15 00:11 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments
Correct makefile variable in post-install (687 bytes, patch)
2018-07-14 06:15 UTC, cyberleo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cyberleo 2018-07-14 06:15:59 UTC
Created attachment 195122 [details]
Correct makefile variable in post-install

Included patch corrects variable name in the NO_PYTHON branch of post-install and allows ldb build to complete.

----
/bin/rm -f /wrkdirs/usr/ports/databases/ldb/work/stage/usr/local/
rm: /wrkdirs/usr/ports/databases/ldb/work/stage/usr/local/: is a directory
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/ldb
----
Comment 1 Timur I. Bakeyev freebsd_committer freebsd_triage 2018-07-15 00:11:33 UTC
Thanks for spotting this!

I guess this was result of the incomplete fix for the portlint, which doesn't like bare word `file` in the Makefile.

So I've changed your patch a bit - use 'f' instead of 'file' all around.