ports/100968: [PATCH] lang/moscow_ml: fix permissions
Stanislav Sedov
ssedov at mbsd.msk.ru
Fri Jul 28 08:10:14 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list