Bug 195077 - [patch] net-mgmt/icinga: fix cflags
Summary: [patch] net-mgmt/icinga: fix cflags
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Lars Engels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-16 19:24 UTC by m.tsatsenko
Modified: 2015-09-13 14:15 UTC (History)
1 user (show)

See Also:
m.tsatsenko: maintainer-feedback? (lme)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.