aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ORBacus/Makefile
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>1999-04-20 11:36:06 +0800
committerjseger <jseger@FreeBSD.org>1999-04-20 11:36:06 +0800
commita950d0161ec8855df79838668acbaf6ba6011134 (patch)
tree112b7ef06694aeece4bd8688d98c9811107b9342 /devel/ORBacus/Makefile
parentc58dc1e989c954d1ab5134afd3108fdbfd351761 (diff)
downloadfreebsd-ports-gnome-a950d0161ec8855df79838668acbaf6ba6011134.tar.gz
freebsd-ports-gnome-a950d0161ec8855df79838668acbaf6ba6011134.tar.zst
freebsd-ports-gnome-a950d0161ec8855df79838668acbaf6ba6011134.zip
* Fix compiling under current.
* Fix PLIST so that this packages.
Diffstat (limited to 'devel/ORBacus/Makefile')
-rw-r--r--devel/ORBacus/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/ORBacus/Makefile b/devel/ORBacus/Makefile
index 2f7f6bada39b..4c1213129cb9 100644
--- a/devel/ORBacus/Makefile
+++ b/devel/ORBacus/Makefile
@@ -3,7 +3,7 @@
# Whom: ejc@bazzle.com
# Version required: 3.0
#
-# $Id: Makefile,v 1.16 1998/12/23 01:28:52 ejc Exp $
+# $Id: Makefile,v 1.17 1999/03/09 20:35:46 ejc Exp $
#
DISTNAME= OB-3.1.2
@@ -15,6 +15,10 @@ MAINTAINER= ejc@bazzle.com
.include <bsd.port.pre.mk>
+.if ${OSREL} >= 4
+LIBSTDC= /usr/lib/libstdc++.a
+CONFIGURE_ENV= CXX=c++ CXXFLAGS="-O -pipe"
+.else
.if ${PORTOBJFORMAT} == "elf"
LIBSTDC= ${PREFIX}/lib/gcc-lib/i386-unknown-freebsdelf${OSREL}/egcs-2.91.62/libstdc++.a
.else
@@ -23,10 +27,11 @@ LIBSTDC= ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${OSREL}/egcs-2.91.62/libstdc
BUILD_DEPENDS= eg++:${PORTSDIR}/lang/egcs \
eg++:${PORTSDIR}/lang/egcs \
+CONFIGURE_ENV= CXX=eg++ CXXFLAGS="-O -pipe"
+.endif
USE_XLIB= yes
HAS_CONFIGURE= yes
-CONFIGURE_ENV= CXX=eg++ CXXFLAGS="-O -pipe"
MAN1= idl.1
MLINKS= idl.1 hidl.1 - irdel.1 - irfeed.1 \
- irgen.1 - irserv.1 - jidl.1