aboutsummaryrefslogtreecommitdiff
path: root/devel/pdcurses
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-08-09 20:14:32 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-08-09 20:14:32 +0000
commita3907aec444a0c2ee9cc3f4950b198fe820fa1a2 (patch)
tree5d6261745decb8a669fcab7a5eda0813b2529589 /devel/pdcurses
parenteca0a801f5f3ce82b31d9763d8a6ec757c6e8a7c (diff)
downloadports-a3907aec444a0c2ee9cc3f4950b198fe820fa1a2.tar.gz
ports-a3907aec444a0c2ee9cc3f4950b198fe820fa1a2.zip
Notes
Diffstat (limited to 'devel/pdcurses')
-rw-r--r--devel/pdcurses/Makefile7
-rw-r--r--devel/pdcurses/pkg-plist2
2 files changed, 7 insertions, 2 deletions
diff --git a/devel/pdcurses/Makefile b/devel/pdcurses/Makefile
index 65b3e31099d4..fa03673b1095 100644
--- a/devel/pdcurses/Makefile
+++ b/devel/pdcurses/Makefile
@@ -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>
diff --git a/devel/pdcurses/pkg-plist b/devel/pdcurses/pkg-plist
index 503f6d1fb00f..73056bde63d3 100644
--- a/devel/pdcurses/pkg-plist
+++ b/devel/pdcurses/pkg-plist
@@ -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