ports/50905: Update port: textproc/ocaml-pxp: Avoid a conflict with PACKAGES in bsd.port.mk

Stephane Legrand stephane at FreeBSD.org
Sun Apr 13 17:10:13 UTC 2003


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



More information about the freebsd-ports-bugs mailing list