summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/Makefile5
-rw-r--r--lib/libexpat/Makefile5
-rw-r--r--lib/libfuse/Makefile5
-rw-r--r--lib/libssl/Makefile5
-rw-r--r--lib/libz/Makefile5
5 files changed, 15 insertions, 10 deletions
diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile
index 71c3e89fb65..8b7f00d2b9b 100644
--- a/lib/libcrypto/Makefile
+++ b/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2016/09/11 14:31:02 natano Exp $
+# $OpenBSD: Makefile,v 1.6 2016/09/14 06:26:02 natano Exp $
LIB= crypto
@@ -431,10 +431,11 @@ distribution:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf
+all: ${PC_FILES}
${PC_FILES}: opensslv.h
/bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
-beforeinstall: ${PC_FILES}
+beforeinstall:
${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \
-m ${SHAREMODE} ${.OBJDIR}/${PC_FILES} ${DESTDIR}/usr/lib/pkgconfig/
diff --git a/lib/libexpat/Makefile b/lib/libexpat/Makefile
index b4ae20c9f02..2e52b9ededa 100644
--- a/lib/libexpat/Makefile
+++ b/lib/libexpat/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2016/09/04 09:54:25 natano Exp $
+# $OpenBSD: Makefile,v 1.11 2016/09/14 06:26:02 natano Exp $
.PATH: ${.CURDIR}/lib
@@ -17,10 +17,11 @@ includes:
${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \
${.CURDIR}/lib/expat_external.h ${DESTDIR}/usr/include/expat_external.h
+all: ${PC_FILES}
${PC_FILES}: lib/expat.h
/bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
-beforeinstall: ${PC_FILES}
+beforeinstall:
${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \
-m ${SHAREMODE} ${.OBJDIR}/${PC_FILES} ${DESTDIR}/usr/lib/pkgconfig/
diff --git a/lib/libfuse/Makefile b/lib/libfuse/Makefile
index 090dfcf1970..c1233ef2873 100644
--- a/lib/libfuse/Makefile
+++ b/lib/libfuse/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2016/09/04 09:54:25 natano Exp $
+# $OpenBSD: Makefile,v 1.10 2016/09/14 06:26:02 natano Exp $
LIB= fuse
MAN= fuse_main.3
@@ -29,10 +29,11 @@ includes:
eval "$$j"; \
done
+all: ${PC_FILES}
${PC_FILES}: fuse_private.h
/bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
-beforeinstall: ${PC_FILES}
+beforeinstall:
${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \
-m ${SHAREMODE} ${.OBJDIR}/${PC_FILES} ${DESTDIR}/usr/lib/pkgconfig/
diff --git a/lib/libssl/Makefile b/lib/libssl/Makefile
index f442bd90bb1..4a5c140ed16 100644
--- a/lib/libssl/Makefile
+++ b/lib/libssl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.21 2016/09/04 09:54:25 natano Exp $
+# $OpenBSD: Makefile,v 1.22 2016/09/14 06:26:03 natano Exp $
SUBDIR= man
PC_FILES=openssl.pc libssl.pc
@@ -48,10 +48,11 @@ includes:
.include <bsd.lib.mk>
+all: ${PC_FILES}
${PC_FILES}: ${.CURDIR}/../libcrypto/opensslv.h
/bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
-beforeinstall: ${PC_FILES}
+beforeinstall:
nm -o lib${LIB}.a | egrep -w 'printf|fprintf' && \
(echo please fix stdio usage in this library; false) || true
.for p in ${PC_FILES}
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index 2c0df4a59de..cba73391248 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.19 2016/09/04 09:54:25 natano Exp $
+# $OpenBSD: Makefile,v 1.20 2016/09/14 06:26:03 natano Exp $
LIB= z
HDRS= zconf.h zlib.h
@@ -19,10 +19,11 @@ includes:
eval "$$j"; \
done
+all: ${PC_FILES}
${PC_FILES}: zlib.h
/bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
-beforeinstall: ${PC_FILES}
+beforeinstall:
${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \
-m ${SHAREMODE} ${.OBJDIR}/${PC_FILES} ${DESTDIR}/usr/lib/pkgconfig/