pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/superscript-shttpd Fix Solarish builds: link with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f3cb345c897
branches:  trunk
changeset: 771533:2f3cb345c897
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Dec 19 10:02:11 2021 +0000

description:
Fix Solarish builds: link with -lsocket for shutdown(2).

diffstat:

 www/superscript-shttpd/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3635eaf592ed -r 2f3cb345c897 www/superscript-shttpd/Makefile
--- a/www/superscript-shttpd/Makefile   Sun Dec 19 09:47:58 2021 +0000
+++ b/www/superscript-shttpd/Makefile   Sun Dec 19 10:02:11 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2021/12/14 08:11:31 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2021/12/19 10:02:11 schmonz Exp $
 
 DISTNAME=              shttpd-0.53
 PKGNAME=               superscript-${DISTNAME}
@@ -18,6 +18,8 @@
 SUBST_CLASSES+=                djberrno
 SUBST_FILES.djberrno=  error.h leapsecs_read.c
 
+LDFLAGS.SunOS+=                -lsocket
+
 post-configure:
        cd ${WRKSRC} && cp conf-ld conf-lds
 



Home | Main Index | Thread Index | Old Index