ports/164274: [PATCH] net/scribe: fix missing perl module compilation
Stephon Chen
stephon at gmail.com
Wed Jan 18 09:10:11 UTC 2012
>Number: 164274
>Category: ports
>Synopsis: [PATCH] net/scribe: fix missing perl module compilation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 18 09:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Stephon Chen
>Release: FreeBSD 8.2-RELEASE-p3 amd64
>Organization:
PIXNET
>Environment:
System: FreeBSD aqua 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011
>Description:
[DESCRIBE CHANGES]
Port maintainer (jnlin at csie.nctu.edu.tw) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- scribe-2.2.2012.01.18.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/scribe/Makefile /nfs/home/10.4.1.1/vol/home/admin/stephon/tmp/scribe/Makefile
--- /usr/ports/net/scribe/Makefile 2012-01-12 17:25:04.000000000 +0800
+++ /nfs/home/10.4.1.1/vol/home/admin/stephon/tmp/scribe/Makefile 2012-01-18 17:07:16.328544000 +0800
@@ -5,7 +5,7 @@
#
PORTNAME= scribe
-DISTVERSION= 2.2.2011.07.27
+DISTVERSION= 2.2.2012.01.18
CATEGORIES= net
MASTER_SITES= https://github.com/facebook/scribe/tarball/${GITVERSION}/
DISTNAME= facebook-scribe-${GITVERSION}
@@ -40,8 +40,12 @@
post-patch:
${REINPLACE_CMD} -e 's|/usr/local/scribe|${LOCALBASE}/etc|' ${WRKSRC}/src/env_default.h
+post-build:
+ ${LOCALBASE}/bin/thrift -o ${WRKSRC} -I ${LOCALBASE}/share --gen "perl" ${WRKSRC}/if/scribe.thrift
+
post-install:
${MKDIR} ${PREFIX}/${SITE_PERL_REL}/Scribe/Thrift
+ ${CP} ${WRKSRC}/gen-perl/Scribe/Thrift/*.pm ${PREFIX}/${SITE_PERL_REL}/Scribe/Thrift
${CP} -R ${WRKSRC}/src/gen-perl/ ${PREFIX}/${SITE_PERL_REL}
${MKDIR} ${EXAMPLESDIR}
${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
--- scribe-2.2.2012.01.18.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list