From owner-freebsd-ports@freebsd.org Mon Oct 16 08:25:59 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 6E747E331BF for ; Mon, 16 Oct 2017 08:25:59 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3607B7269E; Mon, 16 Oct 2017 08:25:59 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x236.google.com with SMTP id r127so188067itb.5; Mon, 16 Oct 2017 01:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=U0R82BsQLbST3nZY1emqAbl3fb9hAB+Fog19i6DVAlI=; b=C+Bt5hYYAfJXTHFNwCIaXdCiMOnBWjbEcQqLgbXDETwoqRJF/hf160KGKN/u+e0Ls/ Igo1p00yFt8s/LCBCK/+VsgvSmDLJBJcHiwDpzO1Pr7FPS6JpwvqD+4kKIsIS6t3cpK5 HlQUy8LCoIs2+8sjA7C4z+NwYoJB9oJTIRgzN/efEW5r43mDrmM4vhBUK2tp0VglQPhk 4LYZzECMB1IILujeRp9FytlBmA4myrWWhE1n7MhXvQY8xJcP4jxt1gnYFpX840HBjTu6 HISZlODerJUPMRVJohZ8TlhlkfOe4M7yACY7NBqYGq9uwkLqDo7QqvCjFrQ23xTNRP6y O3xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=U0R82BsQLbST3nZY1emqAbl3fb9hAB+Fog19i6DVAlI=; b=iShqjitBL2+kJpNI8ofSQVoOKAabl0Gg4AEpniGKJ+7obSHSFG3fgomopCPTqungyw 0sjK1bjS7tVb/uTqQp2IjTdIpxAajp6GD3m+i6ailrRI1lbVahrNTv9kyx0v+odezxg0 gp40N3Hhgz53HASOeoAqdohzGnI+ABdyYJlG0zTMjmx8wwq0mquS1VlKErrRkjnGBGb3 iRr5jrZy2J5Xg30ee5PbZl5F2lVVE0zg1vzyN5z3Xl2sIFsFxYhEKR29fmx/eL9I0jR4 qIx/C36g72rNQDL8O8YoexBYSlUUoIV4XMKt6q7KlinXf72vcrihD9iSbXv+ydHhiivp NuGg== X-Gm-Message-State: AMCzsaWlGIeR+FyD8A+QRi+1pvliz1JcJadzsgJZcP4KnXFDh5jVon4J 40hNgHKa1K8eIBz0efSDNG8p8GaGfiG59rVbrqY5aQ== X-Google-Smtp-Source: ABhQp+SHAJQlncDDLyIfwv3EGmOML+G3yXEaqoAtEVcFrZIYZuStDcYgVyXOvtOlkMdypzZxrSOZ4/7jtk3jTZPSB1c= X-Received: by 10.36.213.213 with SMTP id a204mr157721itg.51.1508142358223; Mon, 16 Oct 2017 01:25:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.8.66 with HTTP; Mon, 16 Oct 2017 01:25:57 -0700 (PDT) In-Reply-To: <20171016080724.4byyskmlbeloxhmt@ivaldir.net> References: <20171016080724.4byyskmlbeloxhmt@ivaldir.net> From: blubee blubeeme Date: Mon, 16 Oct 2017 16:25:57 +0800 Message-ID: Subject: Re: gnu ltdl and FreeBSD To: Baptiste Daroussin Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:25:59 -0000 This is what the Makefile looks like, the file still fails: LICENSE= GPLv3+ BUILD_DEPENDS= gsed:textproc/gsed BINARY_ALIAS= sed=gsed LIB_DEPENDS= libltdl.so:devel/libltdl GNU_CONFIGURE= yes USES= autoreconf gmake same compile error. That config.h should be auto generated and setup by autoreconf but its not. On Mon, Oct 16, 2017 at 4:07 PM, Baptiste Daroussin wrote: > On Mon, Oct 16, 2017 at 05:37:57AM +0000, 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 > > CONFIGURE_ARGS= --without-included-ltdl --disable-ltdl-install > > USES= autoreconf gmake > > First this is wrong, if you have USES=autoreconf it means you are using GNU > configure, so s/HAS_CONFIGURE/GNU_CONFIGURE/g > > Do you have libltdl.so:devel/libltdl in your LIB_DEPENDS line > > Bapt >