Create symlinks to library under OpenBSD
This commit is contained in:
parent
0875f1962d
commit
c2829605a0
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2013/04/06 14:09:32 rodent Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2014/05/05 21:11:25 ryoon Exp $
|
||||
|
||||
DISTNAME= libexecinfo-1.1
|
||||
CATEGORIES= devel
|
||||
|
@ -18,7 +18,16 @@ CFLAGS.Linux+= -Wno-unused-result # write(2) is declared specially
|
|||
|
||||
INSTALLATION_DIRS= include lib
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/execinfo.h ${DESTDIR}${PREFIX}/include
|
||||
# OpenBSD's /usr/share/mk/bsd.lib.mk does not create the following symlinks.
|
||||
.if ${OPSYS} == "OpenBSD"
|
||||
cd ${DESTDIR}${PREFIX}/lib && \
|
||||
${LN} -sf libexecinfo.so.1.0 libexecinfo.so
|
||||
cd ${DESTDIR}${PREFIX}/lib && \
|
||||
${LN} -sf libexecinfo.so.1.0 libexecinfo.so.1
|
||||
.endif
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue