pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libfetch



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Dec  5 16:14:06 UTC 2024

Modified Files:
        pkgsrc/net/libfetch: buildlink3.mk

Log Message:
libfetch: Ensure -lsocket is always added on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/libfetch/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libfetch/buildlink3.mk
diff -u pkgsrc/net/libfetch/buildlink3.mk:1.17 pkgsrc/net/libfetch/buildlink3.mk:1.18
--- pkgsrc/net/libfetch/buildlink3.mk:1.17      Thu Dec  5 15:39:15 2024
+++ pkgsrc/net/libfetch/buildlink3.mk   Thu Dec  5 16:14:06 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2024/12/05 15:39:15 jperkin Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2024/12/05 16:14:06 jperkin Exp $
 
 BUILDLINK_TREE+=       libfetch
 
@@ -14,11 +14,16 @@ BUILDLINK_PKGSRCDIR.libfetch?=              ../../ne
 pkgbase := libfetch
 .include "../../mk/pkg-build-options.mk"
 
+.if ${OPSYS} == "SunOS"
+BUILDLINK_LIBS.libfetch+=      -lsocket
+.endif
+
 .if ${PKG_BUILD_OPTIONS.libfetch:Mopenssl}
 .  include "../../security/openssl/buildlink3.mk"
 BUILDLINK_DEPMETHOD.openssl=   full
 BUILDLINK_LIBS.libfetch+=      -lcrypto -lssl
 .endif
+
 .endif # LIBFETCH_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -libfetch



Home | Main Index | Thread Index | Old Index