From 85f9ab87b79be51562e2b8249ca9660c7005953d Mon Sep 17 00:00:00 2001 From: rillig Date: Tue, 9 Jan 2007 04:17:30 +0000 Subject: Fixed the build for non-privileged users who are not in the "wheel" group and made the setuid bit explicit. --- audio/rio/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/audio/rio/Makefile b/audio/rio/Makefile index 9a22e8f57ef..bf9ed589c60 100644 --- a/audio/rio/Makefile +++ b/audio/rio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/09/09 02:41:55 obache Exp $ +# $NetBSD: Makefile,v 1.19 2007/01/09 04:17:30 rillig Exp $ # DISTNAME= rio007 @@ -16,8 +16,13 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 WRKSRC= ${WRKDIR}/rio107 MAKE_FILE= makefile USE_LANGUAGES= c++ +LIBS.NetBSD= -li386 INSTALLATION_DIRS= bin +SPECIAL_PERMS= bin/rio ${SETUID_ROOT_PERMS} + +do-build: + cd ${WRKSRC} && ${CXX} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} app.cpp rio.cpp -o rio do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rio ${PREFIX}/bin -- cgit v1.2.3