| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.80 2008/03/10 18:35:54 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.81 2008/05/02 05:08:22 xtraeme Exp $ |
2 | | | 2 | |
3 | DISTNAME= curl-7.18.0 | | 3 | DISTNAME= curl-7.18.0 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= www | | 5 | CATEGORIES= www |
6 | MASTER_SITES= http://curl.haxx.se/download/ \ | | 6 | MASTER_SITES= http://curl.haxx.se/download/ \ |
7 | ftp://ftp.sunet.se/pub/www/utilities/curl/ | | 7 | ftp://ftp.sunet.se/pub/www/utilities/curl/ |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= recht@NetBSD.org | | 10 | MAINTAINER= recht@NetBSD.org |
11 | HOMEPAGE= http://curl.haxx.se/ | | 11 | HOMEPAGE= http://curl.haxx.se/ |
12 | COMMENT= Client that groks URLs | | 12 | COMMENT= Client that groks URLs |
13 | | | 13 | |
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 14 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
| @@ -21,26 +21,30 @@ USE_LIBTOOL= yes | | | @@ -21,26 +21,30 @@ USE_LIBTOOL= yes |
21 | GNU_CONFIGURE= yes | | 21 | GNU_CONFIGURE= yes |
22 | CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl} | | 22 | CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl} |
23 | CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib} | | 23 | CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib} |
24 | # Work around an ICE on sparc64 with gcc2 | | 24 | # Work around an ICE on sparc64 with gcc2 |
25 | CONFIGURE_ENV+= F77=${FALSE:Q} | | 25 | CONFIGURE_ENV+= F77=${FALSE:Q} |
26 | | | 26 | |
27 | .include "../../mk/bsd.prefs.mk" | | 27 | .include "../../mk/bsd.prefs.mk" |
28 | | | 28 | |
29 | .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) | | 29 | .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) |
30 | TEST_TARGET= check | | 30 | TEST_TARGET= check |
31 | USE_TOOLS+= perl | | 31 | USE_TOOLS+= perl |
32 | .endif | | 32 | .endif |
33 | | | 33 | |
| | | 34 | .if ${OPSYS} == "NetBSD" && ${_USE_DESTDIR} == "no" |
| | | 35 | PRIVILEGED_STAGES+= clean |
| | | 36 | .endif |
| | | 37 | |
34 | .include "options.mk" | | 38 | .include "options.mk" |
35 | # | | 39 | # |
36 | # XXXbjs CHANGES claims this is fixed. I have left it here commented out | | 40 | # XXXbjs CHANGES claims this is fixed. I have left it here commented out |
37 | # in case this is not so. | | 41 | # in case this is not so. |
38 | # | | 42 | # |
39 | #post-configure: | | 43 | #post-configure: |
40 | # if ${GREP} '#define HAVE_SYS_SELECT_H 1' ${WRKSRC}/src/config.h \ | | 44 | # if ${GREP} '#define HAVE_SYS_SELECT_H 1' ${WRKSRC}/src/config.h \ |
41 | # >/dev/null; \ | | 45 | # >/dev/null; \ |
42 | # then \ | | 46 | # then \ |
43 | # line='#include <sys/select.h>'; \ | | 47 | # line='#include <sys/select.h>'; \ |
44 | # else \ | | 48 | # else \ |
45 | # line='/* sys/select.h not included because it does not exist */'; \ | | 49 | # line='/* sys/select.h not included because it does not exist */'; \ |
46 | # fi; \ | | 50 | # fi; \ |