summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-09 04:17:30 +0000
committerrillig <rillig@pkgsrc.org>2007-01-09 04:17:30 +0000
commit1fc4e0bd3283cf0063808f7620746492ceef9e78 (patch)
treead719ce968e7ca39a05bef9fca0c7545538cb5af /audio
parent26a0c511f919109b39ae62c9514872c3c5afb748 (diff)
downloadpkgsrc-1fc4e0bd3283cf0063808f7620746492ceef9e78.tar.gz
Fixed the build for non-privileged users who are not in the "wheel"
group and made the setuid bit explicit.
Diffstat (limited to 'audio')
-rw-r--r--audio/rio/Makefile7
1 files changed, 6 insertions, 1 deletions
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