1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

- Fix libpthread installation broken on last update

- Use ln -sf instead of -s
- Bump PORTREVISION

Reported by:	erwin
This commit is contained in:
Renato Botelho 2009-08-31 11:03:49 +00:00
parent c2f87e3deb
commit 6e8033afe0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240599

View File

@ -7,7 +7,7 @@
PORTNAME= compat6x
PORTVERSION= 6.4.604000.200810
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~${MASTER_SITE_SUBDIR}/
@ -40,15 +40,15 @@ USE_LDCONFIG32= ${TARGET32_DIR}
do-install:
@${MKDIR} ${TARGET_DIR}
.if ${OSVERSION} >= 800105
${RM} -f ${WRKSRC}/libpthread.so.2
(cd ${TARGET_DIR} && ${LN} -s /usr/lib/libpthr.so ./libpthread.so.2)
${RM} -f ${WRKSRC}/lib/libpthread.so.2
(cd ${TARGET_DIR} && ${LN} -sf /usr/lib/libpthr.so ./libpthread.so.2)
.endif
(cd ${WRKSRC}/lib && ${INSTALL_DATA} *.so.* ${TARGET_DIR})
.if ${ARCH} == amd64
@${MKDIR} ${TARGET32_DIR}
. if ${OSVERSION} >= 800105
${RM} -f ${WRKSRC}/lib32/libpthread.so.2
(cd ${TARGET32_DIR} && ${LN} -s /usr/lib32/libpthr.so ./libpthread.so.2)
(cd ${TARGET32_DIR} && ${LN} -sf /usr/lib32/libpthr.so ./libpthread.so.2)
. endif
(cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR})
.endif