summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2004-01-27 13:45:36 +0000
committergrant <grant>2004-01-27 13:45:36 +0000
commit1c6686ff0ffff6368aa26fd7f78f24a96032d712 (patch)
treef400a6439aaafcebdb3775382f63ef74bd4147e3
parent19171800d8f48b72beb2da7db309a992f6c8c3fc (diff)
downloadpkgsrc-1c6686ff0ffff6368aa26fd7f78f24a96032d712.tar.gz
link against required socket libs on Solaris.
-rw-r--r--net/qadsl/Makefile6
-rw-r--r--net/qadsl/distinfo4
-rw-r--r--net/qadsl/patches/patch-aa13
3 files changed, 14 insertions, 9 deletions
diff --git a/net/qadsl/Makefile b/net/qadsl/Makefile
index 2f7caf33c69..2856f42d0ae 100644
--- a/net/qadsl/Makefile
+++ b/net/qadsl/Makefile
@@ -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 @@ MAINTAINER= tech-pkg@NetBSD.org
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 --git a/net/qadsl/distinfo b/net/qadsl/distinfo
index e1de3ef28ed..d2b97a6e651 100644
--- a/net/qadsl/distinfo
+++ b/net/qadsl/distinfo
@@ -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 --git a/net/qadsl/patches/patch-aa b/net/qadsl/patches/patch-aa
index eff7b6e2f33..8ef8a51462c 100644
--- a/net/qadsl/patches/patch-aa
+++ b/net/qadsl/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/04/14 18:34:08 cjep Exp $
${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}