summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjasper <>2010-12-28 20:07:47 +0000
committerjasper <>2010-12-28 20:07:47 +0000
commit7e33b04d6fa2245d28e83242a0265c0bb8e09b43 (patch)
tree2c162295a3348f4493f52c1d878414967553c94d /src
parent39b32484a6292f856cc1e7e3edd4108bae9cfe2c (diff)
downloadopenbsd-7e33b04d6fa2245d28e83242a0265c0bb8e09b43.tar.gz
openbsd-7e33b04d6fa2245d28e83242a0265c0bb8e09b43.tar.bz2
openbsd-7e33b04d6fa2245d28e83242a0265c0bb8e09b43.zip
- ensure ${DESTDIR}/usr/lib/pkgconfig/ as running make distrib-dirs is not
common/encouraged practice
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile
index 510bb0547f..26acb4751a 100644
--- a/src/lib/libssl/Makefile
+++ b/src/lib/libssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.15 2010/12/28 14:30:50 jasper Exp $ 1# $OpenBSD: Makefile,v 1.16 2010/12/28 20:07:47 jasper Exp $
2 2
3.include <bsd.own.mk> # for KERBEROS5 3.include <bsd.own.mk> # for KERBEROS5
4 4
@@ -21,7 +21,8 @@ beforeinstall:
21.else 21.else
22 /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} 22 /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
23.endif 23.endif
24 24 [ -d ${DESTDIR}/usr/lib/pkgconfig/ ] || \
25 ${INSTALL} -o root -g ${SHAREGRP} -d ${DESTDIR}/usr/lib/pkgconfig/
25.for p in ${PC_FILES} 26.for p in ${PC_FILES}
26 ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \ 27 ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \
27 -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/ 28 -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/