Skip to content

Instantly share code, notes, and snippets.

@drscream
Created March 31, 2016 07:15
Show Gist options
  • Save drscream/6027c032d8c5b89aa08b7cfbff8718d7 to your computer and use it in GitHub Desktop.
Save drscream/6027c032d8c5b89aa08b7cfbff8718d7 to your computer and use it in GitHub Desktop.
diff --git a/security/libykneomgr/Makefile b/security/libykneomgr/Makefile
index 53a4095..2336395 100644
--- a/security/libykneomgr/Makefile
+++ b/security/libykneomgr/Makefile
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS= pkg-config
+CPPFLAGS+= -I${BUILDLINK_PREFIX.pcsc-lite:Q}/include/PCSC
+
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
.include "../../security/pcsc-lite/buildlink3.mk"
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
configure: Detected Mac: selecting macscard backend
configure: use --with-backend to override
configure: checking for PCSC with Mac linkage
checking PCSC/winscard.h usability... no
checking PCSC/winscard.h presence... no
checking for PCSC/winscard.h... no
configure: error: cannot find Mac PCSC library/headers
*** Error code 1
Stop.
bmake[1]: stopped in /Users/tm/Development/pkgsrc/pkgsrc/security/libykneomgr
*** Error code 1
Stop.
bmake: stopped in /Users/tm/Development/pkgsrc/pkgsrc/security/libykneomgr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment