aboutsummaryrefslogtreecommitdiffstats
path: root/misc/compat6x
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-05 22:12:35 +0800
committermiwi <miwi@FreeBSD.org>2014-02-05 22:12:35 +0800
commit1e5c30fd9596580b843e72ca6d007daef0c005ad (patch)
tree6dc0d10567183f357c3fa8aec9f148b3665ef75f /misc/compat6x
parent0d06815d1de040fa97dff410d1783b258d7bfac2 (diff)
downloadfreebsd-ports-gnome-1e5c30fd9596580b843e72ca6d007daef0c005ad.tar.gz
freebsd-ports-gnome-1e5c30fd9596580b843e72ca6d007daef0c005ad.tar.zst
freebsd-ports-gnome-1e5c30fd9596580b843e72ca6d007daef0c005ad.zip
- Stage support
Diffstat (limited to 'misc/compat6x')
-rw-r--r--misc/compat6x/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/misc/compat6x/Makefile b/misc/compat6x/Makefile
index 648cd9f0e220..ca6968f6361b 100644
--- a/misc/compat6x/Makefile
+++ b/misc/compat6x/Makefile
@@ -22,7 +22,6 @@ TARGET_DIR= ${PREFIX}/lib/compat
TARGET32_DIR= ${PREFIX}/lib32/compat
USE_LDCONFIG= ${TARGET_DIR}
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
@@ -35,18 +34,15 @@ USE_LDCONFIG32= ${TARGET32_DIR}
.endif
do-install:
- @${MKDIR} -m 755 ${TARGET_DIR}
+ @${MKDIR} -m 755 ${STAGEDIR}${TARGET_DIR}
${RM} -f ${WRKSRC}/lib/libpthread.so.2
- (cd ${TARGET_DIR} && ${LN} -sf libthr.so.2 libpthread.so.2)
- (cd ${WRKSRC}/lib && ${INSTALL_DATA} *.so.* ${TARGET_DIR})
+ (cd ${STAGEDIR}${TARGET_DIR} && ${LN} -sf libthr.so.2 libpthread.so.2)
+ (cd ${WRKSRC}/lib && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET_DIR})
.if ${ARCH} == amd64
- @${MKDIR} ${TARGET32_DIR}
+ @${MKDIR} ${STAGEDIR}${TARGET32_DIR}
${RM} -f ${WRKSRC}/lib32/libpthread.so.2
- (cd ${TARGET32_DIR} && ${LN} -sf libthr.so.2 libpthread.so.2)
- (cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR})
+ (cd ${STAGEDIR}${TARGET32_DIR} && ${LN} -sf libthr.so.2 libpthread.so.2)
+ (cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET32_DIR})
.endif
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.post.mk>