Install orbitrc.default, and treat it as a real configuration file.

This commit is contained in:
Jeremy Lea 2000-10-03 01:33:36 +00:00
parent 5ff5570d47
commit 3d1e17df6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33345
4 changed files with 10 additions and 10 deletions

View File

@ -30,10 +30,7 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
CONFIGURE_ARGS= --disable-indent
post-install:
.if !exists(${PREFIX}/etc/orbitrc)
@${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc
@${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc
@${ECHO} etc/orbitrc >> ${TMPPLIST}
.endif
@${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc.default
@${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc.default
.include <bsd.port.mk>

View File

@ -7,6 +7,9 @@ bin/orbit-idl
bin/orbit-ird
bin/orbit-name-server
etc/libIDLConf.sh
@unexec if cmp -s %D/etc/orbitrc.default %D/etc/orbitrc; then rm -f %D/etc/orbitrc; fi
etc/orbitrc.default
@exec if [ ! -f %D/etc/orbitrc ] ; then cp -p %D/%F %B/orbitrc; fi
include/IIOP/IIOP-config.h
include/IIOP/IIOP-types.h
include/IIOP/IIOP.h

View File

@ -30,10 +30,7 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
CONFIGURE_ARGS= --disable-indent
post-install:
.if !exists(${PREFIX}/etc/orbitrc)
@${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc
@${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc
@${ECHO} etc/orbitrc >> ${TMPPLIST}
.endif
@${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc.default
@${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc.default
.include <bsd.port.mk>

View File

@ -7,6 +7,9 @@ bin/orbit-idl
bin/orbit-ird
bin/orbit-name-server
etc/libIDLConf.sh
@unexec if cmp -s %D/etc/orbitrc.default %D/etc/orbitrc; then rm -f %D/etc/orbitrc; fi
etc/orbitrc.default
@exec if [ ! -f %D/etc/orbitrc ] ; then cp -p %D/%F %B/orbitrc; fi
include/IIOP/IIOP-config.h
include/IIOP/IIOP-types.h
include/IIOP/IIOP.h