summaryrefslogtreecommitdiff
path: root/net/aget
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 16:20:49 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 16:20:49 +0000
commitc38a63e5d4278b3cbf0ab593b165910762a1d371 (patch)
tree97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /net/aget
parente928cf546372a3d49dac11dbc2bddc9216e4dc5c (diff)
downloadpkgsrc-c38a63e5d4278b3cbf0ab593b165910762a1d371.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'net/aget')
-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