summaryrefslogtreecommitdiff
path: root/net/wakeup/Makefile
diff options
context:
space:
mode:
authorhans <hans>2012-02-16 19:34:47 +0000
committerhans <hans>2012-02-16 19:34:47 +0000
commitab52e55a1de571e7fa8012cb32a26ec1c5119127 (patch)
tree61a9870ecad2b7cabc59229e91be769327af9a8e /net/wakeup/Makefile
parent6f23803c1d19b0eb61e208576469a6d34a5021d3 (diff)
downloadpkgsrc-ab52e55a1de571e7fa8012cb32a26ec1c5119127.tar.gz
Fix build on SunOS. Also, uses a BSD makefile.
Diffstat (limited to 'net/wakeup/Makefile')
-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}