pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfilezilla libfilezilla: use atomic64.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/a3d429f4e382
branches: trunk
changeset: 382812:a3d429f4e382
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Sat Aug 06 00:40:08 2022 +0000
description:
libfilezilla: use atomic64.mk
Simplify, no need for one block in Makefile and a hacks.mk to cover
fewer architectures than atomic64.mk does.
diffstat:
net/libfilezilla/Makefile | 9 +++------
net/libfilezilla/hacks.mk | 14 --------------
2 files changed, 3 insertions(+), 20 deletions(-)
diffs (44 lines):
diff -r 3842cf9876bb -r a3d429f4e382 net/libfilezilla/Makefile
--- a/net/libfilezilla/Makefile Fri Aug 05 20:25:07 2022 +0000
+++ b/net/libfilezilla/Makefile Sat Aug 06 00:40:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2022/07/21 11:31:23 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2022/08/06 00:40:08 gutteridge Exp $
DISTNAME= libfilezilla-0.38.1
CATEGORIES= net
@@ -21,14 +21,11 @@
# for C++17
GCC_REQD+= 8
-# As of 0.19, 64-bit atomic ops are required
-.if ${MACHINE_ARCH} == "i386"
-CXXFLAGS+= -march=i586
-.endif
-
BUILDLINK_API_DEPENDS.nettle+= nettle>=3.1
.include "../../security/nettle/buildlink3.mk"
BUILDLINK_API_DEPENDS.gnutls+= gnutls>=3.5.7
.include "../../security/gnutls/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
+# As of 0.19, 64-bit atomic ops are required
+.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 3842cf9876bb -r a3d429f4e382 net/libfilezilla/hacks.mk
--- a/net/libfilezilla/hacks.mk Fri Aug 05 20:25:07 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2022/08/05 14:34:12 he Exp $
-
-.if !defined(NET_LIBFILEZILLA_HACKS_MK)
-NET_LIBFILEZILLA_HACKS_MK= defined
-
-# [Fri Aug 5 14:57:31 CEST 2022 : he]
-
-# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
-.if ${MACHINE_ARCH} == "powerpc" && ${OPSYS} == "NetBSD"
-PKG_HACKS+= powerpc-atomics
-.include "../../devel/libatomic/buildlink3.mk"
-.endif
-
-.endif # NET_LIBFILEZILLA_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index