summaryrefslogtreecommitdiff
path: root/net/aget/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/aget/Makefile')
-rw-r--r--net/aget/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/net/aget/Makefile b/net/aget/Makefile
index 2f523efe9e2..dcc5893294c 100644
--- a/net/aget/Makefile
+++ b/net/aget/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2014/10/09 14:06:44 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2016/02/25 16:20:50 jperkin Exp $
#
DISTNAME= aget-0.4
@@ -12,8 +12,6 @@ COMMENT= Multithreaded HTTP download accelerator
NO_CONFIGURE= yes
-.include "../../mk/bsd.prefs.mk"
-
SUBST_CLASSES+= options
SUBST_MESSAGE.options= Fixing build options.
SUBST_STAGE.options= post-patch
@@ -26,10 +24,8 @@ PTHREAD_OPTS+= require
LDFLAGS+= ${PTHREAD_LIBS}
PTHREAD_AUTO_VARS= yes
-.if ${OPSYS} == "SunOS"
-CFLAGS+= -DSOLARIS
-LDFLAGS+= -lsocket -lnsl -lresolv
-.endif
+CFLAGS.SunOS+= -DSOLARIS
+LDFLAGS.SunOS+= -lsocket -lnsl -lresolv
INSTALLATION_DIRS= bin