[Bug 208375] devel/llvm38: EPIC - latest port deletes system files!

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 29 08:30:31 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208375

            Bug ID: 208375
           Summary: devel/llvm38: EPIC - latest port deletes system files!
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: afiskon at devzen.ru
          Assignee: brooks at FreeBSD.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)

devel/llvm38/Makefile:

```
.if ${PORT_OPTIONS:MCLANG}
post-install-DOCS-off:
        ${RM} -f ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1
        ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/
        ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/
.endif
```

It should be actually:

```
.if ${PORT_OPTIONS:MCLANG}
post-install-DOCS-off:
        ${RM} -f ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1
        ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/
        ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/
.endif
```

If someone lose /bin/rmdir because of this port it could be replaced by script
like this:

```
#!/bin/sh

/bin/rm -r $@
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list