git: 55a26b2a1b6b - main - japanese/libtomoe-gtk: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Sun Sep 12 21:12:36 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55a26b2a1b6baecba121633d9a864bc92d28b777

commit 55a26b2a1b6baecba121633d9a864bc92d28b777
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-09-12 21:05:56 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-09-12 21:05:56 +0000

    japanese/libtomoe-gtk: fix build on powerpc
    
    ld: error: ../src/.libs/libtomoe-gtk.so: undefined reference to sqrt [--no-allow-shlib-undefined]
---
 japanese/libtomoe-gtk/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/japanese/libtomoe-gtk/Makefile b/japanese/libtomoe-gtk/Makefile
index 091773fd2422..39b19a0d3d96 100644
--- a/japanese/libtomoe-gtk/Makefile
+++ b/japanese/libtomoe-gtk/Makefile
@@ -18,6 +18,7 @@ USES=		gmake gnome libtool pathfix pkgconfig
 USE_GNOME=	gtk20
 USE_LDCONFIG=	yes
 
+LDFLAGS_powerpc=	-lm
 #OPTIONS=	GUCHARMAP	"Compile with gucharmap"		on
 
 .include <bsd.port.options.mk>


More information about the dev-commits-ports-all mailing list