[Bug 225218] databases/ldb: fix stage if LOCALBASE != /usr/local

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 16 15:14:39 UTC 2018


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

            Bug ID: 225218
           Summary: databases/ldb: fix stage if LOCALBASE != /usr/local
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur at FreeBSD.org
          Reporter: z7dr6ut7gs at snkmail.com
             Flags: maintainer-feedback?(timur at FreeBSD.org)
          Assignee: timur at FreeBSD.org

Created attachment 189799
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189799&action=edit
[patch] fix build for non-default LOCALBASE

If you try to build databases/ldb (1.1.29_1) with LOCALBASE set to something
other than the default /usr/local (say "foo"), 'stage' fails:

/usr/bin/strip:
'/wrkdirs/usr/ports/databases/ldb/work/stage/foo/lib/shared-modules/ldb/ldap.so':
No such file
*** Error Code 1

This is because 'configure' cannot find the ldap library.

A secondary issue is that iconv detection (in buildtoosl/wafsamba/wscript)
looks for iconv in /usr/local (hard-coded) by default (and adds
/usr/local/include & /usr/local/lib to the include & library search paths as a
result), and the ldB port doesn't help point to the right location when using a
different LOCALBASE.

The attached patch fixes these issues.

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


More information about the freebsd-ports-bugs mailing list