1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix build on 10+, don't hardcode linking to libstdc++

This commit is contained in:
Pawel Pekala 2013-12-27 16:03:14 +00:00
parent 2fd44c965f
commit 1d7bb8a826
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337744

View File

@ -26,6 +26,10 @@ HAS_CONFIGURE= yes
PLUGDIR?= lib/bmp/Input
PLIST_FILES= ${PLUGDIR}/libmodplugbmp.so
post-patch:
@${REINPLACE_CMD} 's|-lstdc++||' ${WRKSRC}/modplugbmp/Makefile.in \
${WRKSRC}/modplugplay/Makefile.in
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGDIR}
${INSTALL_LIB} ${WRKSRC}/modplugbmp/.libs/libmodplugbmp.so \