svn commit: r358433 - head/misc/libeatmydata
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Jun 19 15:49:10 UTC 2014
Author: vanilla
Date: Thu Jun 19 15:49:09 2014
New Revision: 358433
URL: http://svnweb.freebsd.org/changeset/ports/358433
QAT: https://qat.redports.org/buildarchive/r358433/
Log:
1: Stagify.
2: switch to USES=tar:bzip2
Approved by: portmgr@
Modified:
head/misc/libeatmydata/Makefile
Modified: head/misc/libeatmydata/Makefile
==============================================================================
--- head/misc/libeatmydata/Makefile Thu Jun 19 15:48:40 2014 (r358432)
+++ head/misc/libeatmydata/Makefile Thu Jun 19 15:49:09 2014 (r358433)
@@ -9,7 +9,7 @@ MASTER_SITES= http://www.flamingspork.co
MAINTAINER= bra at fsn.hu
COMMENT= a small LD_PRELOAD library designed to (transparently) disable fsync
-USE_BZIP2= yes
+USES= tar:bzip2
NO_MTREE= yes
USE_LDCONFIG= yes
@@ -17,15 +17,15 @@ PLIST_FILES= lib/libeatmydata.so \
lib/libeatmydata.so.1 \
lib/libeatmydata.so.1.0
-NO_STAGE= yes
post-patch:
${SED} -i '' -e 's/gcc/${CC}/' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libeatmydata.so.1.0 ${PREFIX}/lib
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libeatmydata.so.1.0 ${STAGEDIR}${PREFIX}/lib
post-install:
- ${LN} ${PREFIX}/lib/libeatmydata.so.1.0 ${PREFIX}/lib/libeatmydata.so.1
- ${LN} ${PREFIX}/lib/libeatmydata.so.1.0 ${PREFIX}/lib/libeatmydata.so
+ ${LN} -sf libeatmydata.so.1.0 ${STAGEDIR}${PREFIX}/lib/libeatmydata.so.1
+ ${LN} -sf libeatmydata.so.1.0 ${STAGEDIR}${PREFIX}/lib/libeatmydata.so
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list