ports/65909: Update port: libxslt
skv at FreeBSD.org
skv at FreeBSD.org
Fri Apr 23 09:40:03 UTC 2004
>Number: 65909
>Category: ports
>Synopsis: Update port: libxslt
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 23 02:40:02 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Sergey Skvortsov
>Release: FreeBSD 4.10-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:
<Relevant environment information (multiple lines)>
>Description:
Update port: libxslt
Add new option WITH_PYTHON (and remove macro WITHOUT_PYTHON).
>How-To-Repeat:
<Code/input/activities to reproduce the problem (multiple lines)>
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/libxslt/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile 19 Apr 2004 06:57:44 -0000 1.60
+++ Makefile 23 Apr 2004 09:39:12 -0000
@@ -27,9 +27,12 @@
MAN3= libexslt.3 libxslt.3
MAN1= xsltproc.1
-OPTIONS= MEM_DEBUG "Enable memory debugging" off
+OPTIONS= MEM_DEBUG "Enable memory debugging" off \
+ WITH_PYTHON "Enable Python support" off
-.if !defined(WITHOUT_PYTHON)
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PYTHON)
USE_PYTHON= yes
PLIST_SUB+= PYTHON:=""
CONFIGURE_ARGS+= --with-python=${LOCALBASE}
@@ -39,25 +42,16 @@
PKGNAMESUFFIX= -nopython
.endif
-.include <bsd.port.pre.mk>
-
.if defined(WITH_MEM_DEBUG)
CONFIGURE_ARGS+= --with-mem-debug
.endif
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Libxslt has the following additional tunables:"
- @${ECHO_MSG} ""
- @${ECHO_MSG} " WITHOUT_PYTHON=yes Turns off python support"
- @${ECHO_MSG} ""
-
post-patch:
@${REINPLACE_CMD} -e 's|[$$](bindir)/xsltproc|../xsltproc/xsltproc|g ; \
s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \
${WRKSRC}/doc/Makefile.in
-.if !defined(WITHOUT_PYTHON)
+.if defined(WITH_PYTHON)
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list