Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2009 01:55:46 +0800 (CST)
From:      Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/135481: [MAINTAINER] devel/cppunit: respect PREFIX
Message-ID:  <20090611175546.A464348F46F@yzlin.org>
Resent-Message-ID: <200906111810.n5BIA1GF016974@freefall.freebsd.org>

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

>Number:         135481
>Category:       ports
>Synopsis:       [MAINTAINER] devel/cppunit: respect PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 11 18:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.2-STABLE amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD yzlin 7.2-STABLE FreeBSD 7.2-STABLE #0: Sun May 24 03:53:58 CST 2009
>Description:
- Respect PREFIX
- Take advantage from SF abbreviation in MASTER_SITES

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- cppunit-1.12.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/cppunit/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	3 Sep 2008 07:05:54 -0000	1.11
+++ Makefile	11 Jun 2009 18:02:11 -0000
@@ -6,9 +6,9 @@
 
 PORTNAME=	cppunit
 PORTVERSION=	1.12.1
+PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SF
 
 MAINTAINER=	yzlin@cs.nctu.edu.tw
 COMMENT=	C++ port of the JUnit framework for unit testing
@@ -37,7 +37,7 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -Ee "s,^(pkgconfigdatadir).*,\1 = ${LOCALBASE}/libdata/pkgconfig," \
+	@${REINPLACE_CMD} -Ee "s,^(pkgconfigdatadir).*,\1 = $$\(prefix\)/libdata/pkgconfig," \
 		${WRKSRC}/Makefile.in
 
 post-install:
--- cppunit-1.12.1_1.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?20090611175546.A464348F46F>