diff options
author | Renato Botelho <garga@FreeBSD.org> | 2009-08-27 23:49:48 +0800 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2009-08-27 23:49:48 +0800 |
commit | 00280a9c8b2d69880bdcb7494830d5f847dfb5c5 (patch) | |
tree | 23f3302a53d02a174a45c278e69a5083c55e8332 /misc/compat5x | |
parent | 42f56a1128defa66d4d427e680d2f2bf15424b1d (diff) | |
download | freebsd-ports-gnome-00280a9c8b2d69880bdcb7494830d5f847dfb5c5.tar.gz freebsd-ports-gnome-00280a9c8b2d69880bdcb7494830d5f847dfb5c5.tar.zst freebsd-ports-gnome-00280a9c8b2d69880bdcb7494830d5f847dfb5c5.zip |
When installing on 8.x (>= 800105), don't install libpthread.so.1 but create a
symlink to /usr/lib/libpthr.so
Discussed with: jhb
Diffstat (limited to 'misc/compat5x')
-rw-r--r-- | misc/compat5x/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile index 255fc521bf57..335d7f37a363 100644 --- a/misc/compat5x/Makefile +++ b/misc/compat5x/Makefile @@ -11,7 +11,7 @@ PORTNAME= compat5x PORTVERSION= 5.4.0.8 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR=lesi/compat5x @@ -67,9 +67,17 @@ post-extract: do-install: @${MKDIR} ${TARGET_DIR} +.if ${OSVERSION} >= 800105 + ${RM} -f ${WRKSRC}/libpthread.so.1 + (cd ${TARGET_DIR} && ${LN} -s /usr/lib/libpthr.so ./libpthread.so.1) +.endif (cd ${WRKSRC} && ${INSTALL_DATA} *.so.* ${TARGET_DIR}) .if ${ARCH} == amd64 @${MKDIR} ${TARGET32_DIR} +. if ${OSVERSION} >= 800105 + ${RM} -f ${WRKSRC}/lib32/libpthread.so.1 + (cd ${TARGET32_DIR} && ${LN} -s /usr/lib32/libpthr.so ./libpthread.so.1) +. endif (cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR}) .endif |