FreeBSD Bugzilla – Attachment 72068 Details for
Bug 104838
[PATCH] ports-mgmt/portconf: auto detect real path of /usr/ports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
portconf-1.2_1.patch
portconf-1.2_1.patch (text/plain), 1.16 KB, created by
Rong-En Fan
on 2006-10-26 20:00:36 UTC
(
hide
)
Description:
portconf-1.2_1.patch
Filename:
MIME Type:
Creator:
Rong-En Fan
Created:
2006-10-26 20:00:36 UTC
Size:
1.16 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /big/freebsd-cvsup/ncvs/ports/sysutils/portconf/Makefile,v >retrieving revision 1.3 >diff -u -u -r1.3 Makefile >--- Makefile 6 Sep 2006 12:50:31 -0000 1.3 >+++ Makefile 26 Oct 2006 18:57:12 -0000 >@@ -9,6 +9,7 @@ > > PORTNAME= portconf > PORTVERSION= 1.2 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= # none > DISTFILES= # none >Index: pkg-install >=================================================================== >RCS file: /big/freebsd-cvsup/ncvs/ports/sysutils/portconf/pkg-install,v >retrieving revision 1.1 >diff -u -u -r1.1 pkg-install >--- pkg-install 9 Jun 2006 08:17:35 -0000 1.1 >+++ pkg-install 26 Oct 2006 18:57:12 -0000 >@@ -7,7 +7,12 @@ > cat >> ${MAKE_CONF} << EOF > # Begin portconf settings > # Do not touch these lines >-.if !empty(.CURDIR:M/usr/ports*) && exists(${PKG_PREFIX}/libexec/portconf) >+.if !empty(\${PORTSDIR}) >+_PORTSDIR!= /bin/realpath \${PORTSDIR} >+.else >+_PORTSDIR!= /bin/realpath /usr/ports >+.endif >+.if \${.CURDIR:M\${_PORTSDIR}*} != "" && exists(${PKG_PREFIX}/libexec/portconf) > _PORTCONF!=${PKG_PREFIX}/libexec/portconf > .for i in \${_PORTCONF:S/|/ /g} > \${i:S/%/ /g}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 104838
: 72068