diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-12-28 20:07:48 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-12-28 20:07:48 +0000 |
commit | 5a182de58223c011d540acda49f0dedcd65e5b51 (patch) | |
tree | 160e64da12b53867e7678e52b5c867b949f22d9a /lib/libssl | |
parent | 5db298a3e24f699cadd0b19c7d691056eea3a056 (diff) |
- ensure ${DESTDIR}/usr/lib/pkgconfig/ as running make distrib-dirs is not
common/encouraged practice
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libssl/Makefile b/lib/libssl/Makefile index 510bb0547f3..26acb4751ad 100644 --- a/lib/libssl/Makefile +++ b/lib/libssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2010/12/28 14:30:50 jasper Exp $ +# $OpenBSD: Makefile,v 1.16 2010/12/28 20:07:47 jasper Exp $ .include <bsd.own.mk> # for KERBEROS5 @@ -21,7 +21,8 @@ beforeinstall: .else /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} .endif - + [ -d ${DESTDIR}/usr/lib/pkgconfig/ ] || \ + ${INSTALL} -o root -g ${SHAREGRP} -d ${DESTDIR}/usr/lib/pkgconfig/ .for p in ${PC_FILES} ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \ -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/ |