FreeBSD Bugzilla – Attachment 113619 Details for
Bug 155189
[PATCH] devel/pcsc-lite: add missing default value, respect PORTDOCS and PORTEXAMPLES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pcsc-lite-1.6.4,2.patch
pcsc-lite-1.6.4,2.patch (text/plain), 3.35 KB, created by
Po-Chuan Hsieh
on 2011-03-02 12:30:15 UTC
(
hide
)
Description:
pcsc-lite-1.6.4,2.patch
Filename:
MIME Type:
Creator:
Po-Chuan Hsieh
Created:
2011-03-02 12:30:15 UTC
Size:
3.35 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/pcsc-lite/Makefile,v >retrieving revision 1.51 >diff -u -u -r1.51 Makefile >--- Makefile 6 Sep 2010 07:54:03 -0000 1.51 >+++ Makefile 2 Mar 2011 12:19:44 -0000 >@@ -24,10 +24,10 @@ > USE_RC_SUBR= pcscd > > USE_LDCONFIG= yes >-CONFIGURE_ENV+= LIBS="${LIBS} ${PTHREAD_LIBS}" \ >- CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" >-CONFIGURE_ARGS+=--enable-ipcdir=/var/tmp/ \ >- --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers/ \ >+CFLAGS+= ${PTHREAD_CFLAGS} >+CONFIGURE_ENV= LIBS="${LIBS} ${PTHREAD_LIBS}" >+CONFIGURE_ARGS= --enable-ipcdir=/var/tmp/ \ >+ --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers/ > > PKGMESSAGE= ${WRKDIR}/pkg-message > >@@ -50,6 +50,9 @@ > ${REINPLACE_CMD} -e "s,libusb-1.0/libusb.h,libusb.h,; \ > s,libusb_strerror(ret),ret," ${WRKSRC}/configure \ > ${WRKSRC}/src/hotplug_libusb.c >+.if defined(NOPORTDOCS) >+ ${REINPLACE_CMD} -e '/ifdhandler-3.tex/d' ${WRKSRC}/doc/Makefile.in >+.endif > > pre-everything:: > .if !defined(WITHOUT_USB) && ${OSVERSION} >= 800069 >@@ -60,11 +63,15 @@ > .endif > > post-install: >+.if !defined(NOPORTDOCS) > ${INSTALL_DATA} ${WRKSRC}/doc/README.DAEMON ${DOCSDIR} >+.endif >+.if !defined(NOPORTEXAMPLES) > @${MKDIR} ${EXAMPLESDIR} > ${INSTALL_DATA} ${WRKSRC}/doc/example/Makefile.am ${EXAMPLESDIR} > ${INSTALL_DATA} ${WRKSRC}/doc/example/Makefile.in ${EXAMPLESDIR} > ${INSTALL_DATA} ${WRKSRC}/doc/example/pcsc_demo.c ${EXAMPLESDIR} >+.endif > @${MKDIR} ${PREFIX}/lib/pcsc/drivers > @${MKDIR} ${PREFIX}/lib/pcsc/services > ${TOUCH} ${PREFIX}/lib/pcsc/drivers/.keep_me >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/devel/pcsc-lite/distinfo,v >retrieving revision 1.27 >diff -u -u -r1.27 distinfo >--- distinfo 6 Sep 2010 07:54:03 -0000 1.27 >+++ distinfo 2 Mar 2011 12:19:44 -0000 >@@ -1,3 +1,2 @@ >-MD5 (pcsc-lite-1.6.4.tar.bz2) = d2106e881803784fe2f27922d2d73bc0 > SHA256 (pcsc-lite-1.6.4.tar.bz2) = f5011a7167ad00e312958eace65f14e4cfd20655b02e80f7de1438828c7f730a > SIZE (pcsc-lite-1.6.4.tar.bz2) = 481349 >Index: pkg-plist >=================================================================== >RCS file: /home/ncvs/ports/devel/pcsc-lite/pkg-plist,v >retrieving revision 1.21 >diff -u -u -r1.21 pkg-plist >--- pkg-plist 16 Aug 2010 18:45:06 -0000 1.21 >+++ pkg-plist 2 Mar 2011 12:19:44 -0000 >@@ -10,13 +10,13 @@ > lib/pcsc/services/.keep_me > libdata/pkgconfig/libpcsclite.pc > sbin/pcscd >-%%DOCSDIR%%/README.DAEMON >-%%DOCSDIR%%/ifdhandler-3.tex >-%%EXAMPLESDIR%%/Makefile.am >-%%EXAMPLESDIR%%/Makefile.in >-%%EXAMPLESDIR%%/pcsc_demo.c >-@dirrm %%EXAMPLESDIR%% >-@dirrm %%DOCSDIR%% >+%%PORTDOCS%%%%DOCSDIR%%/README.DAEMON >+%%PORTDOCS%%%%DOCSDIR%%/ifdhandler-3.tex >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.am >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.in >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcsc_demo.c >+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% >+%%PORTDOCS%%@dirrm %%DOCSDIR%% > @dirrm lib/pcsc/services > @dirrm lib/pcsc/drivers > @dirrm lib/pcsc >Index: files/pcscd.in >=================================================================== >RCS file: /home/ncvs/ports/devel/pcsc-lite/files/pcscd.in,v >retrieving revision 1.2 >diff -u -u -r1.2 pcscd.in >--- files/pcscd.in 27 Mar 2010 00:12:53 -0000 1.2 >+++ files/pcscd.in 2 Mar 2011 12:19:44 -0000 >@@ -17,4 +17,7 @@ > command="%%PREFIX%%/sbin/pcscd" > > load_rc_config "$name" >+ >+: ${pcscd_enable="NO"} >+ > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 155189
: 113619