aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bglibs
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-03-02 00:21:08 +0800
committerantoine <antoine@FreeBSD.org>2014-03-02 00:21:08 +0800
commit2aa7909260c5213a4703239e5cfd805510f799ee (patch)
treebe1af8148ef72982cc779c48e6a42a1faef15410 /devel/bglibs
parentcc68b50c697fe0981216f5658a359b87ac5211b3 (diff)
downloadfreebsd-ports-gnome-2aa7909260c5213a4703239e5cfd805510f799ee.tar.gz
freebsd-ports-gnome-2aa7909260c5213a4703239e5cfd805510f799ee.tar.zst
freebsd-ports-gnome-2aa7909260c5213a4703239e5cfd805510f799ee.zip
Remove reference to STAGEDIR in .la files
Diffstat (limited to 'devel/bglibs')
-rw-r--r--devel/bglibs/Makefile7
1 files changed, 4 insertions, 3 deletions
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 <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