From owner-freebsd-ports@freebsd.org Mon Oct 30 15:52:09 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 BB5A4E60304 for ; Mon, 30 Oct 2017 15:52:09 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (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 7D7BC67AE0 for ; Mon, 30 Oct 2017 15:52:09 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id m16so28218448iod.1 for ; Mon, 30 Oct 2017 08:52:09 -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; bh=7HHRtKwDjflE1bsC/r5uyEcM9bgHG6q0V1y64qNdYMo=; b=gVuK7wX4lx8xzAKXiRRgD9fm97dZRXsl7FN/ef5//CZNczcnIVI3EtiPMy9DZnyTkF OftP+V7JZEht0Y5x1YTSapoW2oL1BW1TUyWDDg1Pgwt4n5Mi585pYeReYV3Hqt/q498Y IvOkPC0yeFEeNdCTIUq0W+cq1yMnhXcPjbeRQrUKFMCcly0a1ABRF5NqvbCr++8rVFr2 vkETlKxlemu668wuMP3uFJacTARkdt9fEsh0HBUy4ToKVPkC5lS2wdNfS7l9jC7c7mg9 SB9Is7oNWXVMRme/b99Lc5NXKVCJVnPauVruRXvAAPe8YQCE9LyArIWqjHbHs0aSmpzV beIA== 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; bh=7HHRtKwDjflE1bsC/r5uyEcM9bgHG6q0V1y64qNdYMo=; b=h16FnTye3IfkfM5nnMBGAFJVHq2/n+fgrQO8WL8CPu/e1/xVjnYMGa9KAH0pPGf6ku gB1zipBVghF3jvkhB73ZIbIfp8TYZmof3Y6wYBQS3y67FPVv+bwyfr040YhSqwraQOeF 83a4tJeU+N9NYoRoLIVh5B9CY1RzMt2LjTF/WtvpKIhcKh1ErfKvMrOPpS2VZfvVKB/t 8zVfaNPBqsZH0P7W3fF6n1Rog4Wy1hhpu6q/4igHP0ANh7m4kZ43T2oCJBoD9qs1N72n nO38ZTgmTSWT9Qm7cNXqk4Tv88c26fOthAab4FWW2Rpqh2L4Q6J3WSq4bCkqrfDTl6P5 veiQ== X-Gm-Message-State: AMCzsaXhLZlFxDadFrWnzYPOnURPaQFw2A9ATDhfZ1elg6/4l3oIXR1T lV20ZBIIEeHfPNL0U82pNrP0TRNRPcaxN106Op0= X-Google-Smtp-Source: ABhQp+SGdEMhIkDm6Hx9kYknXu2ITr3Dss3KshxBGsVnLVxWUG4ad/gzuDP4kGSWLsr1O3IOrs+qPw4txQvAEH/NMiQ= X-Received: by 10.107.114.5 with SMTP id n5mr11706666ioc.291.1509378728329; Mon, 30 Oct 2017 08:52:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.8.66 with HTTP; Mon, 30 Oct 2017 08:52:07 -0700 (PDT) In-Reply-To: References: From: blubee blubeeme Date: Mon, 30 Oct 2017 23:52:07 +0800 Message-ID: Subject: Re: ports with no SONAME To: 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, 30 Oct 2017 15:52:09 -0000 Seems like the soname issue has to do with the linker flags set during the compilation process. On Mon, Oct 30, 2017 at 7:37 PM, blubee blubeeme wrote: > There's an unmaintained port [graphics/togl] that I need but doing > stage-qa on my port it says this needed port has no SONAME. > > Since the togl is unmaintained I'll like to fix it. This port does a lot > of stuff like this: > > # do-install: > # @${MKDIR} ${STAGEDIR}${TOGL_INSTDIR} > # .for i in togl.h togl_ws.h pkgIndex.tcl > # ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${TOGL_INSTDIR} > # .endfor > # ${INSTALL_LIB} ${WRKSRC}/libTogl1.7.so ${STAGEDIR}${TOGL_INSTDIR} > # ${LN} -s libTogl1.7.so ${STAGEDIR}${TOGL_INSTDIR}/libtogl.so.1 > # ${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so ${STAGEDIR}${PREFIX}/lib/ > libtogl.so > # ${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so ${STAGEDIR}${PREFIX}/lib/ > libtogl.so.1 > > # do-install-DOCS-on: > # @${MKDIR} ${STAGEDIR}${DOCSDIR} > # ${INSTALL_DATA} ${WRKSRC}/Togl.html ${STAGEDIR}${DOCSDIR} > > # do-install-EXAMPLES-on: > # @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/Makefile ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/ben.rgb ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/double.c ${WRKSRC}/double.tcl > ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/gears.c ${WRKSRC}/gears.tcl > ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/image.c ${WRKSRC}/image.h > ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/index.c ${WRKSRC}/index.tcl > ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/overlay.c ${WRKSRC}/overlay.tcl > ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/stereo.c ${WRKSRC}/stereo.tcl > ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/texture.c ${WRKSRC}/texture.tcl > ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h > ${STAGEDIR}${EXAMPLESDIR} > # ${INSTALL_DATA} ${WRKSRC}/tree2.rgba ${STAGEDIR}${EXAMPLESDIR} > > I think this is the reason it's not registering the SONAME because of > those commands but I'm not sure. > > I ask because reading the porter handbook on installing ports there's a > Makefile macro ${COPYTREE_SHARE} but there's a warning that using that > macro doesn't add the files to pkg-plist, you have to manually do that. > > Anyways, that's a long way to say how can I rework this project to make > sure all files are installed and registered properly? >