Date: Wed, 9 Jul 2003 14:20:20 -0700 (PDT) From: "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/53348: MAINTAINER-UPDATE: textproc/xerces-c2 Message-ID: <200307092120.h69LKKGW050043@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/53348; it has been noted by GNATS. From: "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net> To: FreeBSD-gnats-submit@freebsd.org Cc: bzeeb+freebsdports@zabbadoz.net Subject: Re: ports/53348: MAINTAINER-UPDATE: textproc/xerces-c2 Date: Wed, 9 Jul 2003 21:17:45 +0000 (UTC) >Submitter-Id: current-users >Originator: Bjoern A. Zeeb >Organization: Zabbadoz.NeT >Confidential: no >Synopsis: Re: ports/53348: MAINTAINER-UPDATE: textproc/xerces-c2 >Severity: non-critical >Priority: low >Category: ports >Class: maintainer-update >Release: FreeBSD 5.1-RELEASE i386 >Environment: System: FreeBSD e0-0.noc.int.zabbadoz.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: while testing Xalan compiling with DEBUG on had been usefull >Fix: in addition to patch-ab this one brings changes to Makefile for unstripped library and binaries (not default) and a pkg-plist fix attached patch and complete port source tarball also available from http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.2.0-2.3.0-20030709-01.diff http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.2.0-2.3.0-20030709-01.tbz this port seems to work fine for some testers from Xalan-c list. --- diff --- diff -urN /export/home/bz/xer/textproc/xerces-c2/Makefile xerces-c2/Makefile --- /export/home/bz/xer/textproc/xerces-c2/Makefile Sun Jun 15 09:31:27 2003 +++ xerces-c2/Makefile Wed Jun 25 20:35:36 2003 @@ -62,6 +62,12 @@ .include <bsd.port.pre.mk> +.if defined(DEBUG) +PKGNAMESUFFIX+= -debug +CONFIGURE_ARGS+= -d +STRIP= +.endif + .if defined(NO_THREADS) CONFIGURE_ARGS+= -r none .endif @@ -97,6 +103,7 @@ @${ECHO} 'NO_THREADS do not build a thread enabled shared library' @${ECHO} 'NO_SAMPLES do not copy sample binaries and sources' @${ECHO} 'NOPORTDOCS do not copy documentation' + @${ECHO} 'DEBUG include debugging information, do not strip' @${ECHO} '' @${ECHO} 'Also you may set TRANSODER to the following values (without -D):' @${ECHO} '' @@ -132,7 +139,9 @@ .endif post-install: +.if !defined(DEBUG) @${STRIP_CMD} ${PREFIX}/lib/${XERCESC_LIB} +.endif .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/xerces-c @${CP} -r ${WRKSRC}/doc/ ${PREFIX}/share/doc/xerces-c/ diff -urN /export/home/bz/xer/textproc/xerces-c2/pkg-plist xerces-c2/pkg-plist --- /export/home/bz/xer/textproc/xerces-c2/pkg-plist Sun Jun 15 09:16:15 2003 +++ xerces-c2/pkg-plist Sat Jun 21 12:27:19 2003 @@ -400,7 +400,7 @@ @exec ln -sf %%XERCESC_LIB%% %D/lib/libxerces-c.so @exec ln -sf %%XERCESC_LIB%% %D/lib/libxerces-c.so.%%XERCESC_LIB_VERSION%% @unexec if test ! -r %D/lib/libxerces-c.so; then rm -f %D/lib/libxerces-c.so; fi -@unexec if test ! -r %D/lib/libxerces-c.so; then rm -f %D/lib/libxerces-c.so.%%XERCESC_LIB_VERSION%%; fi +@unexec if test ! -r %D/lib/libxerces-c.so.%%XERCESC_LIB_VERSION%%; then rm -f %D/lib/libxerces-c.so.%%XERCESC_LIB_VERSION%%; fi @dirrm include/xercesc/validators/schema/identity @dirrm include/xercesc/validators/schema @dirrm include/xercesc/validators/DTD --- /diff ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307092120.h69LKKGW050043>