diff options
author | joerg <joerg@pkgsrc.org> | 2012-06-29 12:39:17 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-06-29 12:39:17 +0000 |
commit | b78bddc04eec4d7ee42d2898bdb29f8e64213759 (patch) | |
tree | 21e83163921ed9102e7de7867abb984b68c21c1c /sysutils/boxbackup-client | |
parent | 8922b9c234da2e9ca26390e19ab47ed9655eade8 (diff) | |
download | pkgsrc-b78bddc04eec4d7ee42d2898bdb29f8e64213759.tar.gz |
Fix backtrace(3) fallout on NetBSD.
Diffstat (limited to 'sysutils/boxbackup-client')
-rw-r--r-- | sysutils/boxbackup-client/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/boxbackup-client/Makefile b/sysutils/boxbackup-client/Makefile index 1eeef47886a..39e88512dec 100644 --- a/sysutils/boxbackup-client/Makefile +++ b/sysutils/boxbackup-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2011/11/07 12:04:34 drochner Exp $ +# $NetBSD: Makefile,v 1.8 2012/06/29 12:39:17 joerg Exp $ # DISTNAME= boxbackup-0.11.1 @@ -24,6 +24,13 @@ REPLACE_PERL+= bin/bbackupd/bbackupd-config INSTALLATION_DIRS+= bin #INSTALL_TARGET= install-backup-client +.include "../../mk/bsd.prefs.mk" + +# for backtrace +.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h) +LIBS+= -lexecinfo +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/parcels/boxbackup*-backup-client-*/bbackupctl ${DESTDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/parcels/boxbackup*-backup-client-*/bbackupd ${DESTDIR}${PREFIX}/bin |