Skip to content
Permalink
Browse files

net/olsrd: Remove ldconfig call after copying shared libraries because

it breaks in poudriere.

install -m 755 olsrd_dot_draw.so.0.3 /wrkdirs/usr/ports/net/olsrd/work/stage/usr/local/lib/olsrd_dot_draw.so.0.3; /sbin/ldconfig -m /wrkdirs/usr/ports/net/olsrd/work/stage/usr/local/lib
ldconfig: /wrkdirs/usr/ports/net/olsrd/work/stage/usr/local/lib: ignoring directory not owned by root
ldconfig: mkstemp(/var/run/ld-elf.so.hints.iqt3iA): Permission denied
  • Loading branch information...
decke committed Aug 26, 2019
1 parent a5a8944 commit 01557e118a77363095e4ebb62c3dd226f3e068eb
Showing with 3 additions and 5 deletions.
  1. +3 −5 net/olsrd/files/patch-make-Makefile.fbsd
@@ -1,6 +1,6 @@
--- make/Makefile.fbsd.orig 2019-08-11 08:09:47 UTC
+++ make/Makefile.fbsd
@@ -47,44 +47,49 @@
@@ -47,44 +47,47 @@

LDCONFIG ?= /sbin/ldconfig

@@ -49,10 +49,8 @@

+PLUGIN_SONAME ?= lib$(PLUGIN_NAME).so
+PLUGIN_FULLNAME ?= $(PLUGIN_NAME).so.$(PLUGIN_VER)
+INSTALL_LIB = install -m 755 $(PLUGIN_FULLNAME) $(LIBDIR)/$(PLUGIN_FULLNAME); \
+ $(LDCONFIG) -m $(LIBDIR)
+UNINSTALL_LIB = rm -f $(LIBDIR)/$(PLUGIN_FULLNAME); \
+ $(LDCONFIG) -m $(LIBDIR)
+INSTALL_LIB = install -m 755 $(PLUGIN_FULLNAME) $(LIBDIR)/$(PLUGIN_FULLNAME)
+UNINSTALL_LIB = rm -f $(LIBDIR)/$(PLUGIN_FULLNAME)
+
ifdef OLSRD_PLUGIN
CFLAGS += -fPIC

0 comments on commit 01557e1

Please sign in to comment.
You can’t perform that action at this time.