Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2006 12:02:42 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100968: [PATCH] lang/moscow_ml: fix permissions
Message-ID:  <20060728080242.7C6141209D@fonon.realnet>
Resent-Message-ID: <200607280810.k6S8ADjB042675@freefall.freebsd.org>

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

>Number:         100968
>Category:       ports
>Synopsis:       [PATCH] lang/moscow_ml: fix permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 28 08:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
 - Fix installed files's permissions
 - Makefile cleanup

>How-To-Repeat:
>Fix:

--- moscow_ml-2.01_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/moscow_ml/Makefile /var/tmp/moscow_ml/Makefile
--- /usr/ports/lang/moscow_ml/Makefile	Wed May 10 18:46:40 2006
+++ /var/tmp/moscow_ml/Makefile	Fri Jul 28 12:01:55 2006
@@ -21,8 +21,8 @@
 RESTRICTED=	Restrictions on for-profit distribution.
 
 SUB_FILES=	pkg-message
-ALL_TARGET=	world MOSMLHOME=$(MOSMLHOME)
-INSTALL_TARGET=	install MOSMLHOME=$(MOSMLHOME)
+ALL_TARGET=	world MOSMLHOME=${MOSMLHOME}
+INSTALL_TARGET=	install MOSMLHOME=${MOSMLHOME}
 WRKSRC=		${WRKDIR}/mosml/src
 USE_PERL5=	yes
 MAKE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" DOCSDIR="${DOCSDIR}" \
@@ -60,6 +60,7 @@
 	   --exclude=\*.orig --exclude=\*.bak --exclude=\*.w32 * | \
 	   ${TAR} -xf - -C "${EXAMPLESDIR}"
 	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} "${EXAMPLESDIR}"
+	@${FIND} ${EXAMPLESDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
--- moscow_ml-2.01_2.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?20060728080242.7C6141209D>