mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Use 2 as the shared library major version.
- Install shared library as libXCurses.so.2, then symlink to libXCurses.so (not the other way around).
This commit is contained in:
parent
eca0a801f5
commit
a3907aec44
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170219
@ -42,7 +42,12 @@ LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
|
||||
CONFIGURE_ARGS+=--with-xaw3d
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|$$(libdir)/$$(SHLPRE)$$(SHLFILE)$$(SHLPST)|&.2|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
@cd ${PREFIX}/lib && ${LN} -sf libXCurses.so libXCurses.so.8
|
||||
@cd ${PREFIX}/lib && ${LN} -sf libXCurses.so.2 libXCurses.so
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,6 +7,6 @@ include/xcurses/term.h
|
||||
include/xpanel.h
|
||||
lib/libXCurses.a
|
||||
lib/libXCurses.so
|
||||
lib/libXCurses.so.8
|
||||
lib/libXCurses.so.2
|
||||
lib/libXpanel.a
|
||||
@dirrm include/xcurses
|
||||
|
@ -42,7 +42,12 @@ LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
|
||||
CONFIGURE_ARGS+=--with-xaw3d
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|$$(libdir)/$$(SHLPRE)$$(SHLFILE)$$(SHLPST)|&.2|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
@cd ${PREFIX}/lib && ${LN} -sf libXCurses.so libXCurses.so.8
|
||||
@cd ${PREFIX}/lib && ${LN} -sf libXCurses.so.2 libXCurses.so
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,6 +7,6 @@ include/xcurses/term.h
|
||||
include/xpanel.h
|
||||
lib/libXCurses.a
|
||||
lib/libXCurses.so
|
||||
lib/libXCurses.so.8
|
||||
lib/libXCurses.so.2
|
||||
lib/libXpanel.a
|
||||
@dirrm include/xcurses
|
||||
|
Loading…
Reference in New Issue
Block a user