Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 2014 17:27:33 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        emulation@freebsd.org
Subject:   Re: net-im/skype* vs. linux-c6-*:
Message-ID:  <20141110012733.GE1239@albert.catwhisker.org>
In-Reply-To: <20141107163008.GO1156@albert.catwhisker.org>
References:  <20141107163008.GO1156@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--twz1s1Hj1O0rHoT0
Content-Type: multipart/mixed; boundary="J4XPiPrVK1ev6Sgr"
Content-Disposition: inline


--J4XPiPrVK1ev6Sgr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 07, 2014 at 08:30:08AM -0800, David Wolfskill wrote:
> ...
> command: portmaster net-im/skype-devel
> =1B]0;portmaster: net-im/skype-devel=07
> =3D=3D=3D>>> Port directory: /usr/ports/net-im/skype-devel
>=20
>         =3D=3D=3D>>> This port is marked IGNORE
>         =3D=3D=3D>>> bsd.linux-apps.mk test failed: The component libsigc=
pp20 is not defined for LINUX_DIST_SUFFIX=3D-c6 (the corresponding variable=
 libsigcpp20_c6_FILE is not defined). This usually means that the current p=
ort should be used with non default linux base and/or infrastructure port(s)
>=20
>=20
>         =3D=3D=3D>>> If you are sure you can build it, remove the
>                IGNORE line in the Makefile and try again.
>=20
> Script done on Fri Nov  7 08:27:25 2014
> ....

I circumvented this by:

* Finding that 'find /usr/local/ -name libsigc-\*' showed me:
  /usr/local/lib/libsigc-2.0.so
  /usr/local/lib/libsigc-2.0.so.0
  /usr/local/lib/libsigc-2.0.so.0.0.0

* Noting that 'pkg which /usr/local/lib/libsigc-2.0.so.0' informed me
  that the file had been installed by package libsigc++-2.3.1_1.

* Noting thst 'pkg info -o libsigc++-2.3.1_1' informed me that the
  package's origin was devel/libsigc++20

* Discovering that 'grep -wr libsigcpp20 /usr/ports/Mk' reported that
  ports/Mk/bsd.linux-apps.mk mentions libsigcpp20.

* The relevant stanza in ports/Mk/bsd.linux-apps.mk is:
libsigcpp20_f10_FILE=3D   ${LINUXBASE}/usr/lib/libsigc-2.0.so.0
libsigcpp20_DETECT=3D     ${libsigcpp20${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
libsigcpp20_PORT=3D       ${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libsi=
gc++20

  and there is, indeed, no "libsigcpp20_c6_FILE" mentioned.

Thus, I modified ports/Mk/bsd.linux-apps.mk to create the
libsigcpp20_c6_FILE definition:
libsigcpp20_c6_FILE=3D    ${LINUXBASE}/usr/lib/libsigc-2.0.so.0

I have attached a diff.

After that was done, I was able to build net-in/skype-devel.

I am unsure that this is actually a "fix" -- comments?

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--J4XPiPrVK1ev6Sgr
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="bsd.linux-apps.mk.diff"
Content-Transfer-Encoding: quoted-printable

Index: Mk/bsd.linux-apps.mk
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Mk/bsd.linux-apps.mk	(revision 372355)
+++ Mk/bsd.linux-apps.mk	(working copy)
@@ -284,6 +284,7 @@
 libpciaccess_PORT=3D		${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libpciac=
cess
=20
 libsigcpp20_f10_FILE=3D	${LINUXBASE}/usr/lib/libsigc-2.0.so.0
+libsigcpp20_c6_FILE=3D	${LINUXBASE}/usr/lib/libsigc-2.0.so.0
 libsigcpp20_DETECT=3D	${libsigcpp20${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
 libsigcpp20_PORT=3D	${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libsigc++20
=20

--J4XPiPrVK1ev6Sgr--

--twz1s1Hj1O0rHoT0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJUYBSFXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7S9EQAIhtiy3jpkDf9MVdmj7zwhlb
bJbIRQl4+DPolrC0LD4HTYCS+6K/z/mj8cJMplpDKkePhAgU7HSY3N/6x+ATkzf/
VkFQyvRmOkyELjCTqbb6QwWR9FL9BYGL3Fb3uIwM1RTePM/NX94QsrD9RpYcSONi
/P7Y5HlTKg8zH9l9kqTjOwEk4gtTx2W1/aM9stn0H2by5s5/j3rxQ4KskzcCRskB
VMmANjCvw9CDpJaCPLXfOUghW0AuzHPcx9tgmtWCIbzig64f1yWGW9E6XXXSKlWw
jNcIM3qb8JtcN6EdaCsU00Aw3KkJlYVECchavTjyuQts1nlnnVsunOuRdlFiTx2E
IPeVB0iWVWMNkNlXlaooSrkHb4m3P29U/vnLD4tls06LzRnCjaw5ZwGQA3Ssx46C
lP+6tUDkZkQOebW98VW/SmiaxARBsVQV3a99OfwmbNYdwxAfpyMvxkpf76/iqAr6
/8ZXb50Vg1U3J0/VAJk4vuC2Ov8m8tQaiH8t5D3/x4TybEmi/j+8Ptt3E5AwtWj7
rEQGACX7NyB2RTr57kUCSHC8iWq3on97O0s9GoVgI6IDWP6FiczqjeSkPNpEKFkN
VCxHheEyNJKzRCQwG1zj78WS0z4FESdFMpDCrJaA3ETcyYtInniAz63JJerN04MM
8DHFtO6JSuJzwoSmHf6F
=XJ3q
-----END PGP SIGNATURE-----

--twz1s1Hj1O0rHoT0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141110012733.GE1239>