graphics/lightzone: Force-link to the default GCC libs
Current default is GCC13, but it was linking to /usr/local/lib/gcc12/libstdc++.so.6 when GCC12 was also installed. PR: 279723
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
PORTNAME= lightzone
|
||||
DISTVERSION= 4.1.8-3
|
||||
DISTVERSIONSUFFIX= -g36e87773
|
||||
PORTREVISION= 12
|
||||
PORTREVISION= 13
|
||||
CATEGORIES= graphics java
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
@@ -62,5 +62,7 @@ do-install:
|
||||
${INSTALL_LIB} ${WRKSRC}/products/*.so ${STAGEDIR}${LIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/products/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} icons ${STAGEDIR}${PREFIX}/share/
|
||||
# fix the GCC dependency problem (it uses gcc12 libs instead of default gcc13 libs when gcc12 is installed)
|
||||
${REINPLACE_CMD} -e 's|LD_LIBRARY_PATH=|LD_LIBRARY_PATH=${LOCALBASE}/lib/gcc${GCC_DEFAULT}:|' ${STAGEDIR}${PREFIX}/bin/lightzone
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user