summaryrefslogtreecommitdiff
path: root/net/socks4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/socks4/Makefile')
-rw-r--r--net/socks4/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/socks4/Makefile b/net/socks4/Makefile
index 19e8c6b9e00..b79342fcefc 100644
--- a/net/socks4/Makefile
+++ b/net/socks4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/05/01 18:23:51 tv Exp $
+# $NetBSD: Makefile,v 1.7 1999/08/05 13:09:27 agc Exp $
#
DISTNAME= export.socks.cstc.4.2.2
@@ -18,6 +18,12 @@ WRKSRC= ${WRKDIR}/socks.cstc.4.2
NO_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CC=gcc CPPFLAGS=
+.endif
+
post-patch:
@${SED} -e 's|@PREFIX@|${PREFIX}|g' ${WRKSRC}/include/socks.h \
> ${WRKSRC}/include/socks.h.new && \