ports/53604: Update of devel/pcsc-lite
Rob
rob at debank.tv
Tue Jun 24 09:00:29 UTC 2003
The following reply was made to PR ports/53604; it has been noted by GNATS.
From: Rob <rob at debank.tv>
To: Toni Andjelkovic <toni at soth.at>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: ports/53604: Update of devel/pcsc-lite
Date: Tue, 24 Jun 2003 11:00:11 +0200
Toni Andjelkovic wrote:
>>Number: 53604
>>Category: ports
>>Synopsis: Update of devel/pcsc-lite
>>Confidential: no
>>Severity: serious
>>Priority: medium
>>Responsible: freebsd-ports-bugs
>>State: open
>>Quarter:
>>Keywords:
>>Date-Required:
>>Class: maintainer-update
>>Submitter-Id: current-users
>>Arrival-Date: Sat Jun 21 18:10:14 PDT 2003
>>Closed-Date:
>>Last-Modified:
>>Originator: Toni Andjelkovic
>>Release: FreeBSD 4.8-STABLE i386
>>Organization:
>>Environment:
>
> System: FreeBSD gate.soth.at 4.8-STABLE FreeBSD 4.8-STABLE #2: Wed Jun 11 13:00:42 CEST 2003 toni at gate.soth.at:/usr/obj/usr/src/sys/GATE i386
>
>
>>Description:
>
>
> - Update to 1.1.2.b.5.
>
> - MASTER_SITES has moved.
>
> - Handles "usbdropdir" and "muscledropdir" explicitly.
>
> - aclocal.m4 has moved, so there's no need to set LIBTOOLFILES
> any longer.
>
> - Two patches fixing flex-generated code which included <stdint.h>
> unconditionally, causing build failure on older systems (notably
> 4.8-STABLE).
>
>
>>How-To-Repeat:
>>Fix:
>
>
> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/ports/devel/pcsc-lite/Makefile,v
> retrieving revision 1.8
> diff -u -r1.8 Makefile
> --- Makefile 19 May 2003 01:36:52 -0000 1.8
> +++ Makefile 22 Jun 2003 00:10:45 -0000
> @@ -6,19 +6,18 @@
> #
>
> PORTNAME= pcsc-lite
> -PORTVERSION= 1.1.2.b.4
> +PORTVERSION= 1.1.2.b.5
> CATEGORIES= devel security
> -MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/muscle/
> +MASTER_SITES= http://alioth.debian.org/download.php/160/
> DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b./beta/}
>
> MAINTAINER= toni at soth.at
> COMMENT= A smartcard development library
>
> -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.b.4//}
> +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.b.5//}
> GNU_CONFIGURE= yes
> USE_GMAKE= yes
> USE_LIBTOOL= yes
> -LIBTOOLFILES+= build/aclocal.m4
>
> INSTALLS_SHLIB= yes
> CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
> @@ -26,7 +25,9 @@
> --enable-syslog \
> --enable-runpid=/var/run/pcscd.pid \
> --enable-ipcdir=/var/tmp/ \
> - --enable-confdir=${PREFIX}/etc \
> + --enable-confdir=${PREFIX}/etc/ \
> + --enable-usbdropdir=${PREFIX}/pcsc/drivers/ \
> + --enable-muscledropdir=${PREFIX}/pcsc/services/ \
> --enable-threadsafe
> PKGMESSAGE= ${WRKDIR}/pkg-message
> MAN1= formaticc.1
> @@ -39,6 +40,8 @@
> ${INSTALL_DATA} ${WRKSRC}/doc/pcsc-lite-0.8.7.pdf ${DOCSDIR}
> ${INSTALL_DATA} ${WRKSRC}/doc/muscle-api-1.3.0.pdf ${DOCSDIR}
> .endif
> + @${MKDIR} ${PREFIX}/pcsc/drivers
> + @${MKDIR} ${PREFIX}/pcsc/services
> ${INSTALL_DATA} ${WRKSRC}/etc/reader.conf \
> ${PREFIX}/etc/reader.conf.sample
> ${INSTALL_SCRIPT} ${FILESDIR}/pcscd.sh \
> Index: distinfo
> ===================================================================
> RCS file: /home/ncvs/ports/devel/pcsc-lite/distinfo,v
> retrieving revision 1.6
> diff -u -r1.6 distinfo
> --- distinfo 19 May 2003 01:36:53 -0000 1.6
> +++ distinfo 22 Jun 2003 00:10:45 -0000
> @@ -1 +1 @@
> -MD5 (pcsc-lite-1.1.2beta4.tar.gz) = 4ceb2cc932dc894f62f1226ac98a605e
> +MD5 (pcsc-lite-1.1.2beta5.tar.gz) = 38791ef76bd0c731d26893317d24fe3b
> Index: pkg-plist
> ===================================================================
> RCS file: /home/ncvs/ports/devel/pcsc-lite/pkg-plist,v
> retrieving revision 1.4
> diff -u -r1.4 pkg-plist
> --- pkg-plist 22 Feb 2003 03:24:14 -0000 1.4
> +++ pkg-plist 22 Jun 2003 00:10:45 -0000
> @@ -17,3 +17,6 @@
> lib/libpcsclite.so.0
> sbin/pcscd
> %%PORTDOCS%%@dirrm share/doc/pcsc-lite
> + at dirrm pcsc/drivers
> + at dirrm pcsc/services
> + at dirrm pcsc
> --- /dev/null Sun Jun 22 02:08:40 2003
> +++ files/patch-src::configfile.c Sun Jun 22 01:38:03 2003
> @@ -0,0 +1,12 @@
> +--- src/configfile.c.bak Sun Jun 1 23:43:39 2003
> ++++ src/configfile.c Sun Jun 1 23:43:59 2003
> +@@ -20,7 +20,9 @@
> + #include <string.h>
> + #include <errno.h>
> + #include <stdlib.h>
> ++#ifdef HAVE_STDINT_H
> + #include <stdint.h> /* May break IA64 test-noansi-r */
> ++#endif
> +
> + /* end standard C headers. */
> +
> --- /dev/null Sun Jun 22 02:08:40 2003
> +++ files/patch-src::tokenparser.c Sun Jun 22 01:38:03 2003
> @@ -0,0 +1,12 @@
> +--- src/tokenparser.c.bak Sun Jun 1 23:44:13 2003
> ++++ src/tokenparser.c Sun Jun 1 23:44:31 2003
> +@@ -20,7 +20,9 @@
> + #include <string.h>
> + #include <errno.h>
> + #include <stdlib.h>
> ++#ifdef HAVE_STDINT_H
> + #include <stdint.h> /* May break IA64 test-noansi-r */
> ++#endif
> +
> + /* end standard C headers. */
> +
>
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
>
> _______________________________________________
> freebsd-ports-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"
>
After the port upgrade of devel/pcsc-lite I get an error 2 when
building the package.
------snip--------
source='tokenparser.c' object='tokenparser.lo' libtool=yes \
depfile='.deps/tokenparser.Plo' tmpdepfile='.deps/tokenparser.TPlo' \
depmode=gcc /bin/sh ../build/depcomp \
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE=\"pcsc-lite\" -DVERSION=\"1.1.2\" -O -pipe -march=pentiumpro
-D_THREAD_SAFE -Wall -fno-common -c -o tokenparser.lo `test -f
'tokenparser.c' || echo './'`tokenparser.c
rm -f .libs/tokenparser.lo
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE=\"pcsc-lite\"
-DVERSION=\"1.1.2\" -O -pipe -march=pentiumpro -D_THREAD_SAFE -Wall
-fno-common -c tokenparser.c -Wp,-MD,.deps/tokenparser.TPlo -fPIC
-DPIC -o .libs/tokenparser.lo
tokenparser.c:23: stdint.h: No such file or directory
tokenparser.c:1085: warning: `yyunput' defined but not used
gmake[3]: *** [tokenparser.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/devel/pcsc-lite/work/pcsc-lite-1.1.2/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/devel/pcsc-lite/work/pcsc-lite-1.1.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/devel/pcsc-lite/work/pcsc-lite-1.1.2'
gmake: *** [all] Error 2
*** Error code 2
------snip--------
Rob Evers
More information about the freebsd-ports-bugs
mailing list