svn commit: r346773 - in branches/2014Q1/databases/kyotocabinet: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Mar 2 15:29:24 UTC 2014
Author: sunpoet
Date: Sun Mar 2 15:29:23 2014
New Revision: 346773
URL: http://svnweb.freebsd.org/changeset/ports/346773
QAT: https://qat.redports.org/buildarchive/r346773/
Log:
MFH: r337638
- Use USE_GCC=any
- Change -lpthread to -pthread
- Strip binary executable and shared library
- Use NOT_FOR_ARCHS
- Remove outdated ARCH check and pkg-message
- Support STAGEDIR
Approved by: portmgr (bapt, via IRC)
Deleted:
branches/2014Q1/databases/kyotocabinet/files/
Modified:
branches/2014Q1/databases/kyotocabinet/Makefile
branches/2014Q1/databases/kyotocabinet/pkg-plist (contents, props changed)
Directory Properties:
branches/2014Q1/ (props changed)
Modified: branches/2014Q1/databases/kyotocabinet/Makefile
==============================================================================
--- branches/2014Q1/databases/kyotocabinet/Makefile Sun Mar 2 15:26:53 2014 (r346772)
+++ branches/2014Q1/databases/kyotocabinet/Makefile Sun Mar 2 15:29:23 2014 (r346773)
@@ -14,57 +14,36 @@ LICENSE= GPLv3
OPTIONS_DEFINE= DOCS
+CPPFLAGS+= -fPIC
GNU_CONFIGURE= yes
-MAKE_ARGS= PCDIR="${PREFIX}/libdata/pkgconfig"
+MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig
+REINPLACE_ARGS= -i ''
+USE_GCC= any
USE_LDCONFIG= yes
USES= gmake
-MAN1= kccachetest.1 \
- kcdirmgr.1 \
- kcdirtest.1 \
- kcforestmgr.1 \
- kcforesttest.1 \
- kcgrasstest.1 \
- kchashmgr.1 \
- kchashtest.1 \
- kclangctest.1 \
- kcpolymgr.1 \
- kcpolytest.1 \
- kcprototest.1 \
- kcstashtest.1 \
- kctreemgr.1 \
- kctreetest.1 \
- kcutilmgr.1 \
- kcutiltest.1
+NOT_FOR_ARCHS= powerpc
+NOT_FOR_ARCHS_REASON= does not link
-NO_STAGE= yes
.include <bsd.port.pre.mk>
-.if ${ARCH} == "i386" && !defined(CPUTYPE)
-CONFIGURE_TARGET= i586-portbld-freebsd${OSREL}
-CPUTYPE= i586
-PKGMESSAGE= ${FILESDIR}/pkg-message.${ARCH}
-# _CPUCFLAGS will somehow show up twice in CFLAGS but who cares..
-.include <bsd.cpu.mk>
-.endif
-
-.if ${ARCH} == "powerpc"
-BROKEN= Does not link on powerpc
-.endif
-
post-patch:
.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in
.endif
+post-build:
+ @cd ${WRKSRC}/ && ${STRIP_CMD} libkyotocabinet.so.16.13.0 kccachetest \
+ kcdirmgr kcdirtest kcforestmgr kcforesttest kcgrasstest \
+ kchashmgr kchashtest kclangctest kcpolymgr kcpolytest \
+ kcprototest kcstashtest kctreemgr kctreetest kcutilmgr \
+ kcutiltest
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${FIND} ${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \;
- ${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \;
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/
-.endif
-.if exists(${PKGMESSAGE})
- @${CAT} ${PKGMESSAGE}
+ ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \;
+ ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \;
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.post.mk>
Modified: branches/2014Q1/databases/kyotocabinet/pkg-plist
==============================================================================
--- branches/2014Q1/databases/kyotocabinet/pkg-plist Sun Mar 2 15:26:53 2014 (r346772)
+++ branches/2014Q1/databases/kyotocabinet/pkg-plist Sun Mar 2 15:29:23 2014 (r346773)
@@ -39,6 +39,23 @@ lib/libkyotocabinet.so
lib/libkyotocabinet.so.16
lib/libkyotocabinet.so.16.13.0
libdata/pkgconfig/kyotocabinet.pc
+man/man1/kccachetest.1.gz
+man/man1/kcdirmgr.1.gz
+man/man1/kcdirtest.1.gz
+man/man1/kcforestmgr.1.gz
+man/man1/kcforesttest.1.gz
+man/man1/kcgrasstest.1.gz
+man/man1/kchashmgr.1.gz
+man/man1/kchashtest.1.gz
+man/man1/kclangctest.1.gz
+man/man1/kcpolymgr.1.gz
+man/man1/kcpolytest.1.gz
+man/man1/kcprototest.1.gz
+man/man1/kcstashtest.1.gz
+man/man1/kctreemgr.1.gz
+man/man1/kctreetest.1.gz
+man/man1/kcutilmgr.1.gz
+man/man1/kcutiltest.1.gz
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FOSSEXCEPTION
More information about the svn-ports-all
mailing list