pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/qadsl link against required socket libs on Solaris.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3539d80e495b
branches:  trunk
changeset: 467236:3539d80e495b
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Jan 27 13:45:36 2004 +0000

description:
link against required socket libs on Solaris.

diffstat:

 net/qadsl/Makefile         |   6 ++++--
 net/qadsl/distinfo         |   4 ++--
 net/qadsl/patches/patch-aa |  13 ++++++++-----
 3 files changed, 14 insertions(+), 9 deletions(-)

diffs (69 lines):

diff -r 3ca446ab53f7 -r 3539d80e495b net/qadsl/Makefile
--- a/net/qadsl/Makefile        Tue Jan 27 13:40:03 2004 +0000
+++ b/net/qadsl/Makefile        Tue Jan 27 13:45:36 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/07/17 22:51:44 grant Exp $
+# $NetBSD: Makefile,v 1.4 2004/01/27 13:45:36 grant Exp $
 #
 
 DISTNAME=      qadsl-final-1.2
@@ -10,9 +10,11 @@
 HOMEPAGE=      http://qba.linuxsweden.nu/
 COMMENT=       Login software for Swedish Telia ADSL/Comhem cable Internet users
 
-ALL_TARGET=    bsd
+LIBS.SunOS=    -lnsl -lsocket
+
 MANCOMPRESSED= yes
 
+MAKE_ENV+=     LIBS="${LIBS}"
 MAKE_ENV+=     PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
 
 do-install:
diff -r 3ca446ab53f7 -r 3539d80e495b net/qadsl/distinfo
--- a/net/qadsl/distinfo        Tue Jan 27 13:40:03 2004 +0000
+++ b/net/qadsl/distinfo        Tue Jan 27 13:45:36 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/04/14 18:34:08 cjep Exp $
+$NetBSD: distinfo,v 1.2 2004/01/27 13:45:36 grant Exp $
 
 SHA1 (qadsl-final-1.2.tar.gz) = 3ec757d271c14e231d979fd8d3121ee21d8bd201
 Size (qadsl-final-1.2.tar.gz) = 12208 bytes
-SHA1 (patch-aa) = 4f9d6e829a7e9e3203de7fa5505b7f4ec0cc20f2
+SHA1 (patch-aa) = e3727cec92101150e4a682e67263c14a306783c2
 SHA1 (patch-ab) = 737f0c0ff00dcdd9844837ed47c544beaec60f2b
 SHA1 (patch-ac) = be60cd44d541aea80a00026424ff0aa615bda353
 SHA1 (patch-ad) = f610a095c93fea89409af50a908c5f0948f39b85
diff -r 3ca446ab53f7 -r 3539d80e495b net/qadsl/patches/patch-aa
--- a/net/qadsl/patches/patch-aa        Tue Jan 27 13:40:03 2004 +0000
+++ b/net/qadsl/patches/patch-aa        Tue Jan 27 13:45:36 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/04/14 18:34:08 cjep Exp $
+$NetBSD: patch-aa,v 1.2 2004/01/27 13:45:36 grant Exp $
 
---- Makefile.orig      2001-10-20 14:45:47.000000000 +0100
+--- Makefile.orig      2001-10-20 23:45:47.000000000 +1000
 +++ Makefile
-@@ -2,21 +2,22 @@
+@@ -2,22 +2,23 @@
  
  PROG=qadsl
  CONF=qadsl.conf
@@ -22,12 +22,15 @@
  
  ${PROG}: 
 -      ${CC} -c ${SRC} 
+-      ${CC} -o ${PROG} ${OBJS} 
 +      ${CC} ${CFLAGS} -c ${SRC} 
-       ${CC} -o ${PROG} ${OBJS} 
++      ${CC} -o ${PROG} ${OBJS} ${LIBS}
  
  bsd:
 -      ${CC} -D${MACRO} -c ${SRC}
+-      ${CC} -o ${PROG} ${OBJS}
 +      ${CC} ${CFLAGS} -c ${SRC}
-       ${CC} -o ${PROG} ${OBJS}
++      ${CC} -o ${PROG} ${OBJS} ${LIBS}
  
  clean:
+       rm -fr ${PROG} ${OBJS} 



Home | Main Index | Thread Index | Old Index