From 05a284c100834ba95eaac3a89aa675f36ad91a7e Mon Sep 17 00:00:00 2001
From: Mark Linimon <linimon@FreeBSD.org>
Date: Mon, 12 Apr 2004 14:32:01 +0000
Subject: Fix subtle bug in a plist substitution rule that left an unnecessary
 leading slash in certain filenames (only affected 'make package').

Prompted by:	bento via kris
---
 textproc/xerces-j/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'textproc')

diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile
index 57871fc87ac3..951255dc4d8c 100644
--- a/textproc/xerces-j/Makefile
+++ b/textproc/xerces-j/Makefile
@@ -43,7 +43,7 @@ JARFILES+=	xerces.jar xmlParserAPIs.jar resolver.jar
 JARFILES+=	xercesSamples.jar
 .endif
 
-PLIST_FILES+=	${JARFILES:S,^,${JAVAJARDIR:S,${PREFIX},,}/,}
+PLIST_FILES+=	${JARFILES:S,^,${JAVAJARDIR:S,${PREFIX}/,,}/,}
 
 TOOLS_JARFILES=	resolver.jar stylebook-1.0-b2.jar bin/xjavac.jar
 
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0