diff options
Diffstat (limited to 'devel/mico/Makefile')
-rw-r--r-- | devel/mico/Makefile | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/devel/mico/Makefile b/devel/mico/Makefile index 48a7aaec27e2..3a8ae5232ae3 100644 --- a/devel/mico/Makefile +++ b/devel/mico/Makefile @@ -3,7 +3,7 @@ # Date created: 11 July 1998 # Whom: Marc G. Fournier <scrappy@freebsd.org> # -# $Id: Makefile,v 1.21 1998/11/13 13:15:18 scrappy Exp $ +# $Id: Makefile,v 1.22 1998/11/14 17:50:16 jseger Exp $ # DISTNAME= mico-2.2.3 @@ -14,10 +14,19 @@ MAINTAINER= scrappy@freebsd.org BROKEN_ELF= yes +.include <bsd.port.pre.mk> + +.if ${PORTOBJFORMAT} == "elf" +LIBSTDC= ${PREFIX}/lib/gcc-lib/i386-unknown-freebsdelf${OSREL}/2.8.1/libstdc++.a +.else +LIBSTDC= ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${OSREL}/2.8.1/libstdc++.a +.endif + LIB_DEPENDS= gtk.1:${PORTSDIR}/x11-toolkits/gtk \ - tcl80.1:${PORTSDIR}/lang/tcl80 + tcl80.1:${PORTSDIR}/lang/tcl80 BUILD_DEPENDS= g++28:${PORTSDIR}/lang/gcc28 \ - ${PREFIX}/lib/gcc-lib/i386-unknown-freebsd${OSREL}/2.8.1/libstdc++.a:${PORTSDIR}/lang/glibstdc++28 + ${LIBSTDC}:${PORTSDIR}/lang/glibstdc++28 \ + autoconf:${PORTSDIR}/devel/autoconf CC= gcc28 CXX= g++28 @@ -35,7 +44,10 @@ MAN1= idl.1 imr.1 nsadmin.1 MAN5= micorc.5 MAN8= ird.8 micod.8 nsd.8 +pre-configure: + cd ${WRKSRC}; autoconf + post-install: ${LDCONFIG} -m ${PREFIX}/lib -.include <bsd.port.mk> +.include <bsd.port.post.mk> |