pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/54357: editor/ted editor does not build on macosx
The following reply was made to PR pkg/54357; it has been noted by GNATS.
From: =?utf-8?Q?cl=C3=A9ment_bouvier?= <clement.bouvier.europe%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/54357: editor/ted editor does not build on macosx
Date: Tue, 9 Jul 2019 19:56:56 +0400
There is better than the previous patch and more concise. The compiler =
can produce no common-symbol with -fno-common.
Sorry.
Index: Makefile
=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
RCS file: /cvsroot/pkgsrc/editors/ted/Makefile,v
retrieving revision 1.63
diff -u -r1.63 Makefile
--- Makefile 12 Mar 2018 11:16:24 -0000 1.63
+++ Makefile 9 Jul 2019 15:53:48 -0000
@@ -34,6 +34,10 @@
CONFIGURE_ENV+=3D =
ac_zlib_includes=3D"${BUILDLINK_PREFIX.zlib}/include"
CONFIGURE_ENV+=3D ac_zlib_libraries=3D"${BUILDLINK_PREFIX.zlib}/lib"=
=20
+# ranlib on macos does not include common symbols in the table of =
contents
+# so force the compiler to produce no common symbol
+CFLAGS.Darwin+=3D -fno-common
+
LDFLAGS.SunOS+=3D -liconv
LDFLAGS.Darwin+=3D -liconv
LDFLAGS+=3D -lXft
> Le 7 juil. 2019 =C3=A0 17:05, gnats-admin%netbsd.org@localhost a =C3=A9crit :
>=20
> Thank you very much for your problem report.
> It has the internal identification `pkg/54357'.
> The individual assigned to look at your
> report is: pkg-manager.=20
>=20
>> Category: pkg
>> Responsible: pkg-manager
>> Synopsis: editor/ted editor does not build on macosx
>> Arrival-Date: Sun Jul 07 13:05:00 +0000 2019
>=20
Home |
Main Index |
Thread Index |
Old Index