Date: Tue, 16 Jan 2018 15:14:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225218] databases/ldb: fix stage if LOCALBASE != /usr/local Message-ID: <bug-225218-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225218 Bug ID: 225218 Summary: databases/ldb: fix stage if LOCALBASE !=3D /usr/local Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: timur@FreeBSD.org Reporter: z7dr6ut7gs@snkmail.com Flags: maintainer-feedback?(timur@FreeBSD.org) Assignee: timur@FreeBSD.org Created attachment 189799 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D189799&action= =3Dedit [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/lda= p.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 a= s a result), and the ldB port doesn't help point to the right location when usi= ng a different LOCALBASE. The attached patch fixes these issues. --=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-225218-13>