Bug 195077

Summary: [patch] net-mgmt/icinga: fix cflags
Product: Ports & Packages Reporter: m.tsatsenko
Component: Individual Port(s)Assignee: Lars Engels <lme>
Status: Closed FIXED    
Severity: Affects Some People CC: lme
Priority: --- Flags: m.tsatsenko: maintainer-feedback? (lme)
Version: Latest   
Hardware: Any   
OS: Any   

Description m.tsatsenko 2014-11-16 19:24:17 UTC
icinga fails to build with following error:
===>  Building for icinga-1.11.7
gmake[2]: Entering directory '/usr/ports/net-mgmt/icinga/work/icinga-1.11.7'
gmake -C ./base
gmake[3]: Entering directory '/usr/ports/net-mgmt/icinga/work/icinga-1.11.7/base'
cc -Wall -O2 -pipe -march=nocona -fstack-protector -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -I/usr/local/include  -c -o broker.o broker.c
cc -Wall -O2 -pipe -march=nocona -fstack-protector -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -I/usr/local/include  -c -o nebmods.o nebmods.c
cc -Wall -O2 -pipe -march=nocona -fstack-protector -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c
In file included from ../common/shared.c:26:
../common/../include/config.h:342:10: fatal error: 'ltdl.h' file not found


Patch is trivial:
+CFLAGS+=        -I${LOCALBASE}/include
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-16 19:24:17 UTC
Auto-assigned to maintainer lme@FreeBSD.org
Comment 2 Lars Engels freebsd_committer freebsd_triage 2014-11-19 20:43:04 UTC
Can you please show the output of "make showconfig"?
Comment 3 m.tsatsenko 2014-11-20 21:59:01 UTC
showconfig output follows

make showconfig
===> The following configuration options are available for icinga-1.11.7:
     IDOUTILS=off: Enable Icinga Data Objects support
====> Build and/or install plugins: you can only select none or one of them
     MONPLUGINS=on: Plugins from monitoring-plugins.org
     NAGPLUGINS=off: Plugins from nagios-plugins.org
===> Use 'make config' to modify these settings
Comment 4 Lars Engels freebsd_committer freebsd_triage 2015-04-24 15:14:10 UTC
Sorry for being quiet for so long. Is this still an issue for you?
Comment 5 m.tsatsenko 2015-04-29 23:20:23 UTC
Hi,
yes, this is still an issue
thanks
Comment 6 Lars Engels freebsd_committer freebsd_triage 2015-09-13 14:15:31 UTC
Fixed some time ago when the port was split.