pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/dq Needs -lsocket on Solarish.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a95e72580341
branches:  trunk
changeset: 385576:a95e72580341
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Sep 20 00:17:25 2022 +0000

description:
Needs -lsocket on Solarish.

diffstat:

 net/dq/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r eadd423ddd41 -r a95e72580341 net/dq/Makefile
--- a/net/dq/Makefile   Mon Sep 19 17:44:10 2022 +0000
+++ b/net/dq/Makefile   Tue Sep 20 00:17:25 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/08/25 17:59:08 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2022/09/20 00:17:25 schmonz Exp $
 
 DISTNAME=              ${GITHUB_PROJECT}
 PKGNAME=               ${GITHUB_PROJECT}-${GITHUB_TAG}
@@ -25,7 +25,6 @@
 SUBST_VARS.prefix=     PREFIX
 
 EGDIR=                 share/examples/${PKGBASE}
-INSTALLATION_DIRS=     ${EGDIR}
 MAKE_DIRS+=            ${PKG_SYSCONFDIR}/dqcache/servers
 
 CONF_FILES+=           ${PREFIX}/${EGDIR}/dnscurveroots.global \
@@ -39,7 +38,9 @@
 FILES_SUBST+=          DQCACHE_USER=${DQCACHE_USER:Q}
 FILES_SUBST+=          PKGNAME=${PKGNAME:Q}
 
-INSTALLATION_DIRS+=    bin sbin man/man1 man/man8
+LDFLAGS.SunOS+=                -lsocket
+
+INSTALLATION_DIRS+=    bin sbin man/man1 man/man8 ${EGDIR}
 
 post-install:
        for i in ${WRKSRC}/man/dq*.1; do \



Home | Main Index | Thread Index | Old Index