View | Details | Raw Unified | Return to bug 24231
Collapse All | Expand All

(-)Makefile (-1 / +12 lines)
Lines 61-66 Link Here
61
.endif
61
.endif
62
62
63
#
63
#
64
# The expat module
65
#
66
.if !defined(WITHOUT_EXPAT)
67
SETUP_LOCAL+=	Setup.expat
68
PLIST_EXPAT=	${PKGDIR}/pkg-plist.expat
69
LIB_DEPENDS+=	expat.2:${PORTSDIR}/textproc/expat2
70
CFLAGS+=	-I${LOCALBASE}/include
71
CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
72
.endif
73
74
#
64
# Install the Tools by default. It contains scripts ranging from an IDE
75
# Install the Tools by default. It contains scripts ranging from an IDE
65
# to a web tree checker, to a collection of simple scripts that are useful
76
# to a web tree checker, to a collection of simple scripts that are useful
66
# while extending or managing Python.
77
# while extending or managing Python.
Lines 116-122 Link Here
116
		${PREFIX}/lib/${PYTHON_VERSION}/${platform}/
127
		${PREFIX}/lib/${PYTHON_VERSION}/${platform}/
117
.endfor
128
.endfor
118
.endfor
129
.endfor
119
	@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_DEMO} ${PKGDIR}/pkg-plist
130
	@sort -r -o ${PLIST} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_DEMO} ${PLIST_EXPAT} ${PKGDIR}/pkg-plist
120
131
121
post-install:
132
post-install:
122
	strip ${PREFIX}/bin/python
133
	strip ${PREFIX}/bin/python
(-)pkg-plist.expat (+1 lines)
Added Link Here
1
lib/%%PYTHON_VERSION%%/lib-dynload/pyexpat.so
(-)Setup.expat (+23 lines)
Added Link Here
1
*shared*
2
3
# Interface to the Expat XML parser
4
#
5
# Expat is written by James Clark and must be downloaded separately
6
# (see below).  The pyexpat module was written by Paul Prescod after a
7
# prototype by Jack Jansen.
8
#
9
# The Expat dist includes Windows .lib and .dll files.  Home page is at
10
# http://www.jclark.com/xml/expat.html, the current production release is
11
# always ftp://ftp.jclark.com/pub/xml/expat.zip.
12
#
13
# EXPAT_DIR, below, should point to the expat/ directory created by
14
# unpacking the Expat source distribution.
15
#
16
# Note: the expat build process doesn't yet build a libexpat.a; you can
17
# do this manually while we try convince the author to add it.  To do so,
18
# cd to EXPAT_DIR, run "make" if you have not done so, then run:
19
#
20
#    ar cr libexpat.a xmltok/*.o xmlparse/*.o
21
#
22
pyexpat pyexpat.c -lexpat
23
(-)patch-config.h.in (+12 lines)
Added Link Here
1
--- config.h.in.orig	Wed Jan 10 13:40:16 2001
2
+++ config.h.in	Wed Jan 10 13:40:52 2001
3
@@ -620,6 +620,9 @@
4
 /* Define if you have the <unistd.h> header file.  */
5
 #undef HAVE_UNISTD_H
6
 
7
+/* Define if you have the <expat.h> header file.  */
8
+#undef HAVE_EXPAT_H
9
+
10
 /* Define if you have the <utime.h> header file.  */
11
 #undef HAVE_UTIME_H
12
 
(-)patch-configure (+11 lines)
Added Link Here
1
--- configure	Wed Jan 10 13:19:29 2001
2
+++ configure.orig	Wed Jan 10 13:19:05 2001
3
@@ -1549,7 +1549,7 @@
4
 sys/audioio.h sys/file.h sys/lock.h db_185.h db.h \
5
 sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \
6
 sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
7
-ndbm.h db1/ndbm.h gdbm/ndbm.h
8
+ndbm.h db1/ndbm.h gdbm/ndbm.h expat.h
9
 do
10
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6

Return to bug 24231