openbsd-ports/net/olsrd/patches/patch-src_cfgparser_local_mk
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

12 lines
482 B
Plaintext

$OpenBSD: patch-src_cfgparser_local_mk,v 1.1 2010/07/06 07:41:46 sthen Exp $
--- src/cfgparser/local.mk.orig Wed Mar 31 18:03:53 2010
+++ src/cfgparser/local.mk Tue Jun 29 15:25:30 2010
@@ -73,5 +73,7 @@ $(C)oparse.c: $(C)oparse.y $(C)olsrd_conf.h $(C)Makefi
$(C)oparse.o: CFLAGS := $(filter-out -Wunreachable-code,$(CFLAGS))
+$(C)cfgfile_gen.o: CFLAGS += -fPIC
+
# and a few files to be cleaned
TMPFILES += $(foreach pat,oscan.c oparse.c oparse.h,$(C)$(pat) $(C)$(pat)-tmp)