pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/rio Fixed the build for non-privileged users who...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd80defd01ae
branches:  trunk
changeset: 523530:dd80defd01ae
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 09 04:17:30 2007 +0000

description:
Fixed the build for non-privileged users who are not in the "wheel"
group and made the setuid bit explicit.

diffstat:

 audio/rio/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r f3f9cd8dc2f6 -r dd80defd01ae audio/rio/Makefile
--- a/audio/rio/Makefile        Tue Jan 09 03:30:02 2007 +0000
+++ b/audio/rio/Makefile        Tue Jan 09 04:17:30 2007 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index