From 2aa7909260c5213a4703239e5cfd805510f799ee Mon Sep 17 00:00:00 2001 From: antoine Date: Sat, 1 Mar 2014 16:21:08 +0000 Subject: Remove reference to STAGEDIR in .la files --- devel/bglibs/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'devel/bglibs') diff --git a/devel/bglibs/Makefile b/devel/bglibs/Makefile index f3a5bde296de..ab053ae916dc 100644 --- a/devel/bglibs/Makefile +++ b/devel/bglibs/Makefile @@ -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 - 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 -- cgit