Use ${OSREL} to depend correctly (it was always building the glibstdc++28

port before).

While I'm here, create links to manpages correctly and put them in the
PLIST.
This commit is contained in:
Satoshi Asami 1998-08-09 22:38:15 +00:00
parent 3d5994e83e
commit ef2d200acf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12381
2 changed files with 16 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# Whom: ejc@bazzle.com
# Version required: 3.0
#
# $Id: Makefile,v 1.9 1998/07/25 12:44:32 asami Exp $
# $Id: Makefile,v 1.10 1998/07/29 12:12:42 ejc Exp $
#
DISTNAME= OB-3.0
@ -15,7 +15,7 @@ MAINTAINER= ejc@bazzle.com
BUILD_DEPENDS= gcc28:${PORTSDIR}/lang/gcc28 \
g++28:${PORTSDIR}/lang/gcc28 \
${PREFIX}/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/libstdc++.a:${PORTSDIR}/lang/glibstdc++28
${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${OSREL}/2.8.1/libstdc++.a:${PORTSDIR}/lang/glibstdc++28
HAS_CONFIGURE= yes
CONFIGURE_ENV= CXX=g++28 CXXFLAGS="-O -pipe"
@ -25,5 +25,13 @@ post-install:
${LDCONFIG} -m ${PREFIX}/lib
${MKDIR} ${PREFIX}/share/doc/ORBacus
${INSTALL_DATA} ${WRKSRC}/ob/LICENSE ${PREFIX}/share/doc/ORBacus
.for man in hidl irdel irfeed irgen irserv jidl
${RM} -f ${PREFIX}/man/man1/${man}.1*
.if defined(NOMANCOMPRESS)
${LN} -sf idl.1 ${PREFIX}/man/man1/${man}.1
.else
${LN} -sf idl.1.gz ${PREFIX}/man/man1/${man}.1.gz
.endif
.endfor
.include <bsd.port.mk>

View File

@ -69,3 +69,9 @@ lib/libCosNaming.a
lib/libCosProperty.a
lib/libCosEvent.a
man/man1/idl.1.gz
man/man1/hidl.1.gz
man/man1/irdel.1.gz
man/man1/irfeed.1.gz
man/man1/irgen.1.gz
man/man1/irserv.1.gz
man/man1/jidl.1.gz