Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 14:39:07 -0200
From:      William Grzybowski <william88@gmail.com>
To:        Matthias Andree <mandree@freebsd.org>
Cc:        multimedia@freebsd.org
Subject:   Re: ports/183356: multimedia/vlc: can not be packaged on pre-NG systems
Message-ID:  <CAHtVNLNLRJbDnny2yNYD3EKpaGtrqcfzr_QtSG4vsYuZWYosHw@mail.gmail.com>
In-Reply-To: <526D3EA2.8080902@FreeBSD.org>
References:  <201310271250.r9RCo0fs079902@freefall.freebsd.org> <526D3EA2.8080902@FreeBSD.org>

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

[-- Attachment #1 --]
Hi,

Sorry for the trouble, I tested it in redports and it did not report
any errors, I didn't know redports was using pkgng for all backends.
Can you confirm the following patch fixes the problem? I don't have a
system w/o pkgng in handy to test it out.

Thanks.

On Sun, Oct 27, 2013 at 2:26 PM, Matthias Andree <mandree@freebsd.org> wrote:
> Dear William, dear fellow maintainers,
>
> I am writing to let you know there is a regression that prevents vlc
> from being packaged on non-pkgNG systems, please see my PR referenced below.
>
> Thank you.
>
> Best regards
> Matthias 'mandree@' Andree
>
> -------- Original-Nachricht --------
> Betreff: Re: ports/183356: multimedia/vlc: can not be packaged on pre-NG
> systems
> Datum: Sun, 27 Oct 2013 12:50:00 GMT
> Von: FreeBSD-gnats-submit@FreeBSD.org
> Antwort an: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
> An: Matthias Andree <mandree@FreeBSD.org>
>
> Thank you very much for your problem report.
> It has the internal identification `ports/183356'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=183356
>
>>Category:       ports
>>Responsible:    freebsd-ports-bugs
>>Synopsis:       multimedia/vlc: can not be packaged on pre-NG systems
>>Arrival-Date:   Sun Oct 27 12:50:00 UTC 2013
>
>



-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil

[-- Attachment #2 --]
Index: Makefile
===================================================================
--- Makefile	(revision 331741)
+++ Makefile	(working copy)
@@ -720,10 +720,10 @@
 	@${FIND} ${STAGEDIR} -type d | ${SED} -e "s,${STAGEDIR},,g" \
 		| while read line; do \
 		${GREP} -qw "^$${line}$$" ${WRKDIR}/.mtree || { \
-			[ -n "$${line}" ] && ${ECHO_CMD} "@dirrmtry $${line}"; \
+			[ -n "$${line}" ] && ${ECHO_CMD} "@unexec rmdir $${line} >/dev/null 2>&1 || :"; \
 		}; \
 		done | ${SORT} -r | ${SED} \
-		-e "s,${PREFIX}/,,g" | ${GREP} -v "^@dirrmtry share/licenses" >> ${TMPPLIST} || ${TRUE}
+		-e "s,${PREFIX}/,,g" | ${GREP} -v "^@unexec rmdir share/licenses" >> ${TMPPLIST} || ${TRUE}
 
 
 .include <bsd.port.post.mk>

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