Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2008 16:13:05 +0200 (CEST)
From:      Olivier Smedts <olivier@gid0.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124165: [PATCH] audio/gnuitar : make OPTIONS work
Message-ID:  <20080531141305.644D422828@z.gid0.org>
Resent-Message-ID: <200805311450.m4VEo1pB011723@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124165
>Category:       ports
>Synopsis:       [PATCH] audio/gnuitar : make OPTIONS work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 31 14:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Smedts
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
gid0.org
>Environment:
System: FreeBSD z.gid0.org 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Sun May 4 20:25:51 CEST 2008 root@z.gid0.org:/work/obj/work/src/sys/XPC i386

>Description:
OPTIONS are not taken into account when installing audio/gnuitar.

>How-To-Repeat:
# cd /usr/ports/audio/gnuitar
# make config
WITH_SUID=true
# make install
% ll /usr/local/bin/gnuitar
546784 -r-xr-xr-x  1 root  wheel  - 86232 31 mai 16:01 /usr/local/bin/gnuitar*

>Fix:
# cd /usr/ports/audio/gnuitar
# patch -p2 < /tmp/patch
# make config
WITH_SUID=true
# make install
% ll /usr/local/bin/gnuitar
546784 -r-sr-xr-x  1 root  wheel  - 86232 31 mai 16:01 /usr/local/bin/gnuitar*

--- patch begins here ---
--- audio/gnuitar/Makefile.orig	2007-05-19 21:58:45.000000000 +0200
+++ audio/gnuitar/Makefile	2008-05-31 16:01:37.000000000 +0200
@@ -33,6 +33,8 @@
 		"" \
 		true
 
+.include <bsd.port.pre.mk>
+
 pre-fetch:
 	@${CAT} pkg-message
 
@@ -61,4 +63,4 @@
 	@${CHMOD} u+s ${PREFIX}/bin/gnuitar
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080531141305.644D422828>