summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 19:34:47 +0000
committerhans <hans@pkgsrc.org>2012-02-16 19:34:47 +0000
commitdbb84a4b078b19a77e6dcd225cef12b8026ffdab (patch)
tree61a9870ecad2b7cabc59229e91be769327af9a8e /net
parent76cb1df72daf788813b6b73e364b51586f46ee3c (diff)
downloadpkgsrc-dbb84a4b078b19a77e6dcd225cef12b8026ffdab.tar.gz
Fix build on SunOS. Also, uses a BSD makefile.
Diffstat (limited to 'net')
-rw-r--r--net/wakeup/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/wakeup/Makefile b/net/wakeup/Makefile
index bfcf281b04a..a22435131dd 100644
--- a/net/wakeup/Makefile
+++ b/net/wakeup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:32 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2012/02/16 19:34:47 hans Exp $
#
DISTNAME= hpwake
@@ -14,10 +14,12 @@ COMMENT= Wakeup On LAN client for remote power-up of machines
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gunzip
-MAKE_ENV+= ${BSD_MAKE_ENV}
+USE_BSD_MAKEFILE= yes
INSTALLATION_DIRS= bin
+LDFLAGS.SunOS+= -lsocket
+
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}