diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-10-12 22:51:18 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-10-12 22:51:18 +0000 |
commit | 67e0984aa7ea6bdac61268c6056915258a9b90ab (patch) | |
tree | be30b4d6617eb594466b8af92894d67e216de114 /www/sitecopy/Makefile | |
parent | bc0a8a0a5f35dc0fc60a13282a811967a3ce9ef5 (diff) | |
download | pkgsrc-67e0984aa7ea6bdac61268c6056915258a9b90ab.tar.gz |
Use libnbcompat in favor of libgetopt if necessary.
Also add buildlink for pthread support.
(From PR pkg/23099 by Hiramatsu Yoshifumi)
Diffstat (limited to 'www/sitecopy/Makefile')
-rw-r--r-- | www/sitecopy/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/sitecopy/Makefile b/www/sitecopy/Makefile index ab47eecaa6d..cbc37c466f2 100644 --- a/www/sitecopy/Makefile +++ b/www/sitecopy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2003/09/23 09:05:52 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2003/10/12 22:51:18 jschauma Exp $ DISTNAME= sitecopy-0.13.4 CATEGORIES= www @@ -19,8 +19,6 @@ CONFIGURE_ARGS+= --with-ssl=${SSLBASE} CONFIGURE_ARGS+= --with-included-neon CONFIGURE_ARGS+= --with-libxml2 -LIBS+= ${LIBGETOPT} - # The build process doesn't correctly find the header for GNU fnmatch, which # is provided in ${WRKSRC}/lib. Help the compiler by linking the header # to ${WRKSRC} and explicitly passing -I. to the compiler. @@ -31,9 +29,13 @@ pre-build: ${RM} -f ${WRKSRC}/fnmatch.h ${LN} -sf ${WRKSRC}/lib/fnmatch.h ${WRKSRC}/fnmatch.h +.if !exists(/usr/include/getopt.h) +. include "../../pkgtools/libnbcompat/buildlink2.mk" +.endif + .include "../../devel/gettext-lib/buildlink2.mk" -.include "../../devel/libgetopt/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" .include "../../textproc/libxml2/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" .include "../../mk/bsd.pkg.mk" |