Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2003 19:04:51 +0200 (CEST)
From:      Stephane Legrand <stephane@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50905: Update port: textproc/ocaml-pxp: Avoid a conflict with PACKAGES in bsd.port.mk
Message-ID:  <200304131704.h3DH4pKv028634@sequoia.mondomaineamoi.megalo>
Resent-Message-ID: <200304131710.h3DHABev051257@freefall.freebsd.org>

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

>Number:         50905
>Category:       ports
>Synopsis:       Update port: textproc/ocaml-pxp: Avoid a conflict with PACKAGES in bsd.port.mk
>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:   Sun Apr 13 10:10:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stephane Legrand
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:

System: FreeBSD 4.8-STABLE i386

>Description:
	
The PACKAGES variable is used by the port and it conflicts with the
PACKAGES variable defined in bsd.port.mk. See :
http://bento.freebsd.org/errorlogs/i386-4-latest/ocaml-pxp-1.1.5.log

>How-To-Repeat:
>Fix:

diff -ruN ocaml-pxp/Makefile ocaml-pxp.new/Makefile
--- ocaml-pxp/Makefile	Sun Apr  6 17:46:31 2003
+++ ocaml-pxp.new/Makefile	Sun Apr 13 17:20:11 2003
@@ -23,6 +23,12 @@
 
 HAS_CONFIGURE=	yes
 
+USE_REINPLACE=  yes
+
 ALL_TARGET=	all opt
+
+# to avoid a conflict with PACKAGES in bsd.port.mk
+post-extract:
+	${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} -e 's/PACKAGES/PXP_PACKAGES/'
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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