Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2012 17:09:32 +0800 (CST)
From:      Stephon Chen <stephon@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jnlin@csie.nctu.edu.tw
Subject:   ports/164274: [PATCH] net/scribe: fix missing perl module compilation
Message-ID:  <201201180909.q0I99WkG069896@aqua>
Resent-Message-ID: <201201180910.q0I9A9Sx091800@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201180909.q0I99WkG069896>