diff options
author | joerg <joerg@pkgsrc.org> | 2012-10-21 09:08:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-10-21 09:08:56 +0000 |
commit | 7cad58b845817e0d292d08cb9654799c24f4a1a9 (patch) | |
tree | 0591c7a5468a94b0709b94cb8edf2407147a8f88 /pkgtools/pkg_install/files/delete | |
parent | 1b981517234e6902c7ddff9e9885561b26d55bf7 (diff) | |
download | pkgsrc-7cad58b845817e0d292d08cb9654799c24f4a1a9.tar.gz |
Deal with messed up linkage on Linux by always linking against libcrypto
and libssl when linking against libfetch, if the latter is built with
SSL support.
Diffstat (limited to 'pkgtools/pkg_install/files/delete')
-rw-r--r-- | pkgtools/pkg_install/files/delete/Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/files/delete/Makefile.in b/pkgtools/pkg_install/files/delete/Makefile.in index e1b24832330..e60ddaf8998 100644 --- a/pkgtools/pkg_install/files/delete/Makefile.in +++ b/pkgtools/pkg_install/files/delete/Makefile.in @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.in,v 1.19 2012/05/15 16:43:53 christos Exp $ +# $NetBSD: Makefile.in,v 1.20 2012/10/21 09:08:56 joerg Exp $ srcdir= @srcdir@ @@ -11,9 +11,16 @@ datarootdir= @datarootdir@ man1dir= $(mandir)/man1 cat1dir= $(mandir)/cat1 +SSL_SUPPORT= @ssl_support@ + CC= @CC@ CCLD= $(CC) LIBS= -linstall -lfetch @LIBS@ + +.if !empty(SSL_SUPPORT) +LIBS+= -lssl -lcrypto +.endif + CPPFLAGS= @CPPFLAGS@ -I. -I$(srcdir) -I../lib -DBINDIR=\"$(sbindir)\" DEFS= @DEFS@ CFLAGS= @CFLAGS@ |