pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/fuse-utils this uses functions from libgcryp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c08dafc79b2f
branches:  trunk
changeset: 477079:c08dafc79b2f
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Jun 26 17:46:14 2004 +0000

description:
this uses functions from libgcrypt and libgpg-error so include their
buildlink3.mk files.

on NetBSD and others this was building and working but resolving symbols
from libgcrypt and libgpg-error indirectly via libspectrum. this is not
good practice, you must always explicitly link against libraries for the
functions you need.

fixes the build on Solaris.

bump PKGREVISION.

diffstat:

 emulators/fuse-utils/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f9e4acdca6ef -r c08dafc79b2f emulators/fuse-utils/Makefile
--- a/emulators/fuse-utils/Makefile     Sat Jun 26 17:37:14 2004 +0000
+++ b/emulators/fuse-utils/Makefile     Sat Jun 26 17:46:14 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2004/02/25 18:50:03 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2004/06/26 17:46:14 grant Exp $
 #
 
 DISTNAME=      fuse-utils-0.6.2
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
 
@@ -14,6 +14,11 @@
 USE_X11=               yes
 GNU_CONFIGURE=         yes
 
+LIBS+=                 -lgcrypt
+LIBS+=                 -lgpg-error
+
 .include "../../emulators/libspectrum/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/libgpg-error/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index