From owner-freebsd-ports@freebsd.org Mon Oct 16 08:45:57 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17F5EE33841 for ; Mon, 16 Oct 2017 08:45:57 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay111.isp.belgacom.be (mailrelay111.isp.belgacom.be [195.238.20.138]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED98C7311E for ; Mon, 16 Oct 2017 08:45:55 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3A6wKM6hxvdQU5rrTXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1OwSIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizf?= =?us-ascii?q?ssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1?= =?us-ascii?q?JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeu?= =?us-ascii?q?BWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbO?= =?us-ascii?q?SxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiS?= =?us-ascii?q?cIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CS2RPXthfWTFCDIy+?= =?us-ascii?q?YYsAAPYOM+lDoonhpVYCsQeyCRWwCO/xzDJDm3/43bc90+QkCQzIwg0gH9AKsH?= =?us-ascii?q?/Jstj1M6ASUfurw6nN1zrDaehW0ir65YjUcxAho/WMUKlwf8rL10YgCR7IgEie?= =?us-ascii?q?p4D/ODOVzOsNvnGd4uF9Vuyvk3YqpgJtrjS12MsglpTFipgax13K7yl0w4c4KN?= =?us-ascii?q?ulQ0Bhe9GkCoFftySCOotzRcMtXn9ntT4hyr0DpZ67ZC8KyIk7xxLHa/yIbYyI?= =?us-ascii?q?4hX7WeaSOzh4gHNleLehiBao9kis0PH8Vsi20FZOtCZKjt7MtncW1xPN78iIUP?= =?us-ascii?q?19/ly71TaIzQDT5flIIUEylaXFN54s2r09moYJvUjdAiP6hV/6gaCYe0k++eWl?= =?us-ascii?q?6vzrYrD8qZ+dM490hBv+MqMrmsGnHeQ4MwoOX2yA9OSyzr3s41P2T65RjvIriK?= =?us-ascii?q?XZt4raJcsDqq6jHwBVypoj6wq4Dzq+39QYgGMHI0xDeB2bj4jmIVfOLev3Dfe6?= =?us-ascii?q?mVuskTNry+raMb3mB5WeZkTExb3lYLxw5gZWzBc5wN1a6toABawbLfT4Wkb3nN?= =?us-ascii?q?PdBx49dQezxrC0Js9609YiWGCLSoSeN7jftFaO/ap7P+iOYKc7ojvwAcMJofn0?= =?us-ascii?q?gilqyhcmYaC10M5POziDFfN8LhDcOCK0jw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AECADCcORZ/1YryVBcGwEBAQMBAQEJA?= =?us-ascii?q?QEBFgEBAQMBAQEJAQEBgzRUfiePDY47AQGBdS8BiBWNaoIUgguDOgKEVUEXAQE?= =?us-ascii?q?BAQEBAQEBAQFqKII4JAGCQAEBAQECATocIwULCxgJJQ8SGB4GE4oFAw0MrEeHO?= =?us-ascii?q?w2DaAEBAQEBBQEBAQEkgy2FQoMqgl6IGwWhDDyPcoRsf5IkjQOKJSEDM4FZVTI?= =?us-ascii?q?Igy2CXByBaT42iiUBAQE?= X-IPAS-Result: =?us-ascii?q?A2AECADCcORZ/1YryVBcGwEBAQMBAQEJAQEBFgEBAQMBAQE?= =?us-ascii?q?JAQEBgzRUfiePDY47AQGBdS8BiBWNaoIUgguDOgKEVUEXAQEBAQEBAQEBAQFqK?= =?us-ascii?q?II4JAGCQAEBAQECATocIwULCxgJJQ8SGB4GE4oFAw0MrEeHOw2DaAEBAQEBBQE?= =?us-ascii?q?BAQEkgy2FQoMqgl6IGwWhDDyPcoRsf5IkjQOKJSEDM4FZVTIIgy2CXByBaT42i?= =?us-ascii?q?iUBAQE?= Received: from 86.43-201-80.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([80.201.43.86]) by relay.skynet.be with ESMTP; 16 Oct 2017 10:44:43 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v9G8ihpx017429; Mon, 16 Oct 2017 10:44:43 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Mon, 16 Oct 2017 10:44:42 +0200 From: Tijl Coosemans To: blubee blubeeme Cc: FreeBSD Ports Subject: Re: gnu ltdl and FreeBSD Message-ID: <20171016104442.2ae8931f@kalimero.tijl.coosemans.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2017 08:45:57 -0000 On Mon, 16 Oct 2017 13:37:57 +0800 blubee blubeeme wrote: > I'm trying to port some software that keeps failing when it tries to find a > config.h. > > I know the config.h file is there but I think the compilation is failing > because it's trying to build ltdl and freebsd doesn't need that since > freebsd already has dlopen in libc. > > Which configure flag could I try to get rid of building that lib? The full > configure --help file is below. > > My current makefile has these settings: > HAS_CONFIGURE= yes This should be GNU_CONFIGURE=yes. > CONFIGURE_ARGS= --without-included-ltdl --disable-ltdl-install > USES= autoreconf gmake Here you should add "libtool" to USES. And maybe the code really needs libltdl. See if there are any calls to lt_dlinit or lt_dlopen. You can then add this dependency: LIB_DEPENDS= libltdl.so:devel/libltdl