openbsd-ports/net/olsrd/patches/patch-make_Makefile_obsd
sthen 6b103e74ba - fix build on 64-bit arch following last update
- tighten RUN_DEPENDS for -plugins
- remove some patches and most of the custom do-install in favour
of passing variables to make and using upstream's build infrastructure.
- tidy Makefile

ok sebastia@, maintainer timeout
2010-07-06 07:41:46 +00:00

16 lines
586 B
Plaintext

$OpenBSD: patch-make_Makefile_obsd,v 1.2 2010/07/06 07:41:46 sthen Exp $
--- make/Makefile.obsd.orig Wed Mar 31 19:03:53 2010
+++ make/Makefile.obsd Sun Jun 13 13:42:51 2010
@@ -11,9 +11,8 @@ HDRS += $(wildcard src/bsd/*.h src/unix/*.h)
CPPFLAGS += -D__OpenBSD__
LIBS +=
-PLUGIN_FULLNAME ?= $(PLUGIN_NAME).so.$(PLUGIN_VER)
-INSTALL_LIB = install -m 755 $(PLUGIN_FULLNAME) $(LIBDIR)/$(PLUGIN_FULLNAME); \
- /sbin/ldconfig
+PLUGIN_FULLNAME ?= $(PLUGIN_NAME).so
+INSTALL_LIB = install -m 755 $(PLUGIN_FULLNAME) $(LIBDIR)/$(PLUGIN_FULLNAME);
ifdef OLSRD_PLUGIN
CFLAGS += -fPIC