Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier Duchateau
freebsd-ports-gnome
Commits
1d40e0d2
Commit
1d40e0d2
authored
Sep 16, 2020
by
Olivier Duchateau
Browse files
Avoid hard coding of ${LOCALBASE}
parent
c5484586
Changes
2
Hide whitespace changes
Inline
Side-by-side
security/seahorse/Makefile
View file @
1d40e0d2
...
...
@@ -53,4 +53,8 @@ LDAP_DESC= LDAP keyserver support
LDAP_MESON_TRUE
=
ldap-support
LDAP_USE
=
OPENLDAP
=
yes
post-patch-LDAP-on
:
${REINPLACE_CMD}
-e
's|%%LOCALBASE%%|
${LOCALBASE}
|g'
\
${WRKSRC}
/meson.build
.
include
<bsd.port.mk>
security/seahorse/files/patch-meson.build
View file @
1d40e0d2
...
...
@@ -29,8 +29,8 @@
if get_option('ldap-support')
- libldap = cc.find_library('ldap')
- liblber = cc.find_library('lber')
+ libldap = cc.find_library('ldap', dirs: '
/usr/local
/lib')
+ liblber = cc.find_library('lber', dirs: '
/usr/local
/lib')
+ libldap = cc.find_library('ldap', dirs: '
%%LOCALBASE%%
/lib')
+ liblber = cc.find_library('lber', dirs: '
%%LOCALBASE%%
/lib')
if not libldap.found()
error('Required library "ldap" not found (needed for LDAP support)')
elif not liblber.found()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment