From 594295005097c5fa227738f307e1b10e92615f44 Mon Sep 17 00:00:00 2001 From: natano <> Date: Sun, 4 Sep 2016 09:54:25 +0000 Subject: only regen pkg-config files when required; ok jasper --- src/lib/libcrypto/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/libcrypto') diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index afe2db0cf6..9a0d7cc22f 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2016/09/03 12:42:46 beck Exp $ +# $OpenBSD: Makefile,v 1.3 2016/09/04 09:54:25 natano Exp $ LIB= crypto @@ -438,12 +438,12 @@ distribution: ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf -beforeinstall: +${PC_FILES}: opensslv.h /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} -.for p in ${PC_FILES} + +beforeinstall: ${PC_FILES} ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \ - -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/ -.endfor + -m ${SHAREMODE} ${.OBJDIR}/${PC_FILES} ${DESTDIR}/usr/lib/pkgconfig/ .include .include -- cgit v1.2.3-55-g6feb