aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 12:45:49 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 12:45:49 +0800
commitc3e3b14be38e99cb21eab96bc135df3a6627dcad (patch)
treee31d7ab11944e89c8aa7a0f9622c06253022e0fc /misc
parent704d6f472e923aec0173c1fd6fd9da62c325e628 (diff)
downloadfreebsd-ports-gnome-c3e3b14be38e99cb21eab96bc135df3a6627dcad.tar.gz
freebsd-ports-gnome-c3e3b14be38e99cb21eab96bc135df3a6627dcad.tar.zst
freebsd-ports-gnome-c3e3b14be38e99cb21eab96bc135df3a6627dcad.zip
- Stage support
Diffstat (limited to 'misc')
-rw-r--r--misc/compat5x/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile
index 05c55322a22c..4735cb491032 100644
--- a/misc/compat5x/Makefile
+++ b/misc/compat5x/Makefile
@@ -28,7 +28,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"
@@ -56,15 +55,15 @@ PLIST_SUB+= SPARC64="@comment "
.endif
do-install:
- @${MKDIR} -m 0755 ${TARGET_DIR}
+ @${MKDIR} -m 0755 ${STAGEDIR}${TARGET_DIR}
${RM} -f ${WRKSRC}/libpthread.so.1
- (cd ${TARGET_DIR} && ${LN} -sf libthr.so.1 libpthread.so.1)
- (cd ${WRKSRC} && ${INSTALL_DATA} *.so.* ${TARGET_DIR})
+ (cd ${STAGEDIR}${TARGET_DIR} && ${LN} -sf libthr.so.1 libpthread.so.1)
+ (cd ${WRKSRC} && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET_DIR})
.if ${ARCH} == amd64
- @${MKDIR} ${TARGET32_DIR}
+ @${MKDIR} ${STAGEDIR}${TARGET32_DIR}
${RM} -f ${WRKSRC}/lib32/libpthread.so.1
- (cd ${TARGET32_DIR} && ${LN} -sf libthr.so.1 libpthread.so.1)
- (cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR})
+ (cd ${STAGEDIR}${TARGET32_DIR} && ${LN} -sf libthr.so.1 libpthread.so.1)
+ (cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${STAGEDIR}${TARGET32_DIR})
.endif
.include <bsd.port.post.mk>