1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Remove reference to STAGEDIR in .la files

This commit is contained in:
Antoine Brodin 2014-03-01 16:21:08 +00:00
parent 30b1107aa2
commit 0b95f36828
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346640

View File

@ -3,7 +3,7 @@
PORTNAME= bglibs
PORTVERSION= 1.106
PORTREVISION= 3
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= http://untroubled.org/${PORTNAME}/archive/ \
@ -27,8 +27,6 @@ DOCS= NEWS README TODO doc/html/*
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} '/main/s/^void/int/' ${WRKSRC}/sys/try*.c
@ -44,6 +42,9 @@ do-configure:
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
@${SED} -i '' 's|${STAGEDIR}||' \
${STAGEDIR}${PREFIX}/lib/bglibs/libbg-sysdeps.la \
${STAGEDIR}${PREFIX}/lib/bglibs/libbg.la
selftest: build
cd ${WRKSRC} && ${SH} selftests.sh