Fix Makefile:
to use bsd.port.{pre.post}.mk
check for proper libstdc++.a, depending on elf or aout
run autoconf before configure
Remove old patches and add:
patch-ak
search and find tcl8.0 header file
setup shared library extension properly according to elf vs aout
patch-al
properly find gtk.h
Leaving it as marked BROKEN, while I continue to figure out thie elf vs
aout stuff ...
===> Building package for mico-2.2.3
Creating package /usr/ports/packages/All/mico-2.2.3.tgz
Registering depends: Mesa-3.0 XFree86-3.3.2 gtk-1.0.6 qt-1.40 tcl-8.0.2.
Creating gzip'd tar ball in '/usr/ports/packages/All/mico-2.2.3.tgz'
tar: can't add file lib/libmicoaux2.2.3.so.1 : No such file or directory
tar: can't add file lib/libmicoqt2.2.3.so.1 : No such file or directory
tar: can't add file lib/libmicox2.2.3.so.1 : No such file or directory
/usr/sbin/pkg_create: tar command failed with code 256
*** Error code 1
add the dependency for glibstdc++28 (shouldn't the gcc28 port automatically
install this?) ...
Please try and let me know if this fixes the build problem...
is still the same.
-------
===> Building for mico-2.2.3
for i in admin include; do gmake -C $i adm || exit 1; done
gmake[1]: Entering directory `/usr/ports/devel/mico/work/mico/admin'
g++28 -I../include -fno-exceptions -I/usr/X11R6/include/X11/qt -I/usr/local/include -c mkdepend.cc -o mkdepend.o
mkdepend.cc:27: iostream.h: No such file or directory
mkdepend.cc:28: fstream.h: No such file or directory
mkdepend.cc:29: string: No such file or directory
mkdepend.cc:30: vector: No such file or directory
mkdepend.cc:31: set: No such file or directory
gmake[1]: *** [mkdepend.o] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/mico/work/mico/admin'
gmake: *** [system] Error 1
*** Error code 2
Stop.
mico and gcc 2.7.2.1 ... not usable with koffice at this time, as it requires
you to disabl-mini-stl, but that will require either gcc 2.8.1 or egcs to
make that happen, and still working out bugs with the more stable version of
egcs then is in ports...
with the standard gcc that comes with FreeBSD 3.0 (gcc 2.7.2.1) ... this
is not usable for compiling either corba or koffice, which is still being
worked on...
Please report any bugs on this to me, as I'm trying to work with the
MICO guys as far as getting FreeBSD recognized as an "official port" instead
of their current web page, which reports "somehow it works under FreeBSD"...
current bug in the egcs port (its not a bug in the port, its a bug in egcs
itself)...
Change dependencies so that it will compile using --disable-mini-stl
Replaced the --with-tcl=/usr/include with just --with-tcl
Left in BROKEN status...can someone test and let me know if there is
anything else I've overlooked?
is definitely wrong.
===
cd ../libs; rm -f libmicox2.2.1.a; ln -f -s ../auxdir/libmicox2.2.1.a .
/usr/X11R6/bin/moc ../include/mico/qtmico.h -o qtmico.moc
c++ -I. -I../include -I/usr/ports/devel/mico/work/mico/./include/ministl -I/usr/X11R6/include -I/usr/X11R6/lib/glib/include -I/usr/X11R6/include/gtk10 -I/usr/X11R6/include -I/usr/local/include -c qtmico.cc -o qtmico.o
In file included from qtmico.cc:25:
../include/mico/qtmico.h:32: qapp.h: No such file or directory
../include/mico/qtmico.h:35: qsocknot.h: No such file or directory
../include/mico/qtmico.h:36: qtimer.h: No such file or directory
In file included from qtmico.cc:266:
qtmico.moc:17: qmetaobject.h: No such file or directory
gmake[1]: *** [qtmico.o] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/mico/work/mico/auxdir'
gmake: *** [system] Error 1
*** Error code 2
Stop.
The port is marked BROKEN anyway...updating it to what I have so far that
appears to work, so that if I update ports, I don't lose it all again.
Hope to have it unBROKEN over the weekend ... so far, builds out of the
box with the stock cc 2.7.2.1 ...