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-server | |
parent | 8922b9c234da2e9ca26390e19ab47ed9655eade8 (diff) | |
download | pkgsrc-b78bddc04eec4d7ee42d2898bdb29f8e64213759.tar.gz |
Fix backtrace(3) fallout on NetBSD.
Diffstat (limited to 'sysutils/boxbackup-server')
-rw-r--r-- | sysutils/boxbackup-server/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/boxbackup-server/Makefile b/sysutils/boxbackup-server/Makefile index f3950db669f..61818f9a881 100644 --- a/sysutils/boxbackup-server/Makefile +++ b/sysutils/boxbackup-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2011/11/07 12:05:17 drochner Exp $ +# $NetBSD: Makefile,v 1.8 2012/06/29 12:39:17 joerg Exp $ # DISTNAME= boxbackup-0.11.1 @@ -27,6 +27,13 @@ REPLACE_PERL+= lib/raidfile/raidfile-config INSTALLATION_DIRS+= bin +.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-server-*/bbstoreaccounts ${DESTDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/parcels/boxbackup*-backup-server-*/bbstored ${DESTDIR}${PREFIX}/bin |