ports/135481: [MAINTAINER] devel/cppunit: respect PREFIX

Yi-Jheng Lin yzlin at cs.nctu.edu.tw
Thu Jun 11 18:10:02 UTC 2009


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



More information about the freebsd-ports-bugs mailing list