Fri Apr 13 23:04:11 2012 UTC ()
Add -lrt to LIBS.SunOS to make this build. Not needed on 5.11, but
doesn't hurt either.


(hans)
diff -r1.18 -r1.19 pkgsrc/security/libassuan/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/security/libassuan/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/security/libassuan/Attic/Makefile 2011/04/22 13:42:48 1.18
+++ pkgsrc/security/libassuan/Attic/Makefile 2012/04/13 23:04:11 1.19
@@ -1,36 +1,38 @@ @@ -1,36 +1,38 @@
1# $NetBSD: Makefile,v 1.18 2011/04/22 13:42:48 obache Exp $ 1# $NetBSD: Makefile,v 1.19 2012/04/13 23:04:11 hans Exp $
2# 2#
3 3
4DISTNAME= libassuan-1.0.5 4DISTNAME= libassuan-1.0.5
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= security 6CATEGORIES= security
7MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libassuan/ 7MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libassuan/
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= shannonjr@NetBSD.org 10MAINTAINER= shannonjr@NetBSD.org
11HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/libassuan/ 11HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/libassuan/
12COMMENT= The IPC library used by some GnuPG related software 12COMMENT= The IPC library used by some GnuPG related software
13 13
14PKG_INSTALLATION_TYPES= overwrite pkgviews 14PKG_INSTALLATION_TYPES= overwrite pkgviews
15PKG_DESTDIR_SUPPORT= user-destdir 15PKG_DESTDIR_SUPPORT= user-destdir
16 16
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
18INFO_FILES= yes 18INFO_FILES= yes
19USE_TOOLS+= autoconf autoreconf automake 19USE_TOOLS+= autoconf autoreconf automake
20USE_LIBTOOL= yes 20USE_LIBTOOL= yes
21### 21###
22### XXX By default, this package will build with -fPIC on linux. 22### XXX By default, this package will build with -fPIC on linux.
23### Instead, let's patch it to use libtool and use --with-pic 23### Instead, let's patch it to use libtool and use --with-pic
24### to build position-independent code when possible. 24### to build position-independent code when possible.
25CONFIGURE_ARGS+= --with-pic 25CONFIGURE_ARGS+= --with-pic
26TEST_TARGET= check 26TEST_TARGET= check
27 27
 28LIBS.SunOS+= -lrt
 29
28BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 30BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
29 31
30pre-configure: 32pre-configure:
31 cd ${WRKSRC} && libtoolize 33 cd ${WRKSRC} && libtoolize
32 cd ${WRKSRC} && \ 34 cd ${WRKSRC} && \
33 ${SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} autogen.sh 35 ${SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} autogen.sh
34 36
35.include "../../security/libgpg-error/buildlink3.mk" 37.include "../../security/libgpg-error/buildlink3.mk"
36.include "../../mk/bsd.pkg.mk" 38.include "../../mk/bsd.pkg.mk"