summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-09-20 06:30:02 +0000
committerjperkin <jperkin>2013-09-20 06:30:02 +0000
commit4cf17147c5eb24ab97e6ddb9e10957c7d22e189c (patch)
tree430d656dcca2727c834be8d50802fe6b0b93bf76
parentdfaafd74b08e0ddd5fb963885bcf65c9eb36abc9 (diff)
downloadpkgsrc-4cf17147c5eb24ab97e6ddb9e10957c7d22e189c.tar.gz
Add -D__EXTENSIONS__ on SunOS for PATH_MAX.
-rw-r--r--www/serf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/serf/Makefile b/www/serf/Makefile
index f5e9a6eb367..e60eb1d1019 100644
--- a/www/serf/Makefile
+++ b/www/serf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2013/09/17 14:01:01 adam Exp $
+# $NetBSD: Makefile,v 1.20 2013/09/20 06:30:02 jperkin Exp $
DISTNAME= serf-1.3.1
CATEGORIES= www
@@ -18,6 +18,8 @@ SCONS_ARGS+= CC=${CC:Q}
SCONS_ARGS+= CFLAGS=${CFLAGS:Q}
SCONS_ARGS+= OPENSSL=${PREFIX}/lib
+CFLAGS.SunOS+= -D__EXTENSIONS__
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX} ${SCONS_ARGS}