summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjasper <>2010-12-28 20:07:47 +0000
committerjasper <>2010-12-28 20:07:47 +0000
commitf3f9ac05756ebc4174d1285fca199e4efef67dc4 (patch)
tree2c162295a3348f4493f52c1d878414967553c94d
parent0ea551d84cefb476f864a1a524c19ff0ef57e15a (diff)
downloadopenbsd-f3f9ac05756ebc4174d1285fca199e4efef67dc4.tar.gz
openbsd-f3f9ac05756ebc4174d1285fca199e4efef67dc4.tar.bz2
openbsd-f3f9ac05756ebc4174d1285fca199e4efef67dc4.zip
- ensure ${DESTDIR}/usr/lib/pkgconfig/ as running make distrib-dirs is not
common/encouraged practice
-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/