pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/sitecopy Use libnbcompat in favor of libgetopt if ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8900cb3db5f0
branches: trunk
changeset: 462781:8900cb3db5f0
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Oct 12 22:51:18 2003 +0000
description:
Use libnbcompat in favor of libgetopt if necessary.
Also add buildlink for pthread support.
(From PR pkg/23099 by Hiramatsu Yoshifumi)
diffstat:
www/sitecopy/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r efb40edd73b0 -r 8900cb3db5f0 www/sitecopy/Makefile
--- a/www/sitecopy/Makefile Sun Oct 12 21:11:52 2003 +0000
+++ b/www/sitecopy/Makefile Sun Oct 12 22:51:18 2003 +0000
@@ -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-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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index