diff options
author | cheusov <cheusov@pkgsrc.org> | 2014-06-07 19:22:51 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2014-06-07 19:22:51 +0000 |
commit | 10dd39c5a854dd8b08feee1e232ba0cf63921b4e (patch) | |
tree | 1826ab89a185f4eaeb09f464a25615b1dd62c463 /net/libfetch/Makefile | |
parent | e439d6a76cef942be47770bc1d417dfbfdf21544 (diff) | |
download | pkgsrc-10dd39c5a854dd8b08feee1e232ba0cf63921b4e.tar.gz |
Define _GNU_SOURCE by default for glibc-based systems (vasprintf(3)).
This fixes bootstrap failure on AltLinux.
Diffstat (limited to 'net/libfetch/Makefile')
-rw-r--r-- | net/libfetch/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/libfetch/Makefile b/net/libfetch/Makefile index 518513ebd49..a8292ec9f5e 100644 --- a/net/libfetch/Makefile +++ b/net/libfetch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.51 2014/02/12 23:18:22 tron Exp $ +# $NetBSD: Makefile,v 1.52 2014/06/07 19:22:51 cheusov Exp $ # DISTNAME= libfetch-2.36 @@ -28,6 +28,8 @@ INSTALLATION_DIRS= include lib ${PKGMANDIR}/cat3 ${PKGMANDIR}/man3 BUILD_TARGET= depend all INSTALL_TARGET= install includes +CPPFLAGS= -D_GNU_SOURCE + do-extract: ${CP} -r ${FILESDIR} ${WRKSRC} |