On Tue, May 20, 2008 at 12:59:56PM +0200, Jean-Gérard Pailloncy wrote: > Helo, > > I try to make a port for Gdome2 > I do not have polish the config > But I got some error I do not understand. >
Seems you forgot to add SHARED_LIBS to the Makefile. You should also take into account that we start with version 0.0 on OpenBSD and not what upstream provides (8.1 in this case). Enough pointers or do you need more? Regards, Simon > Here the error: > > make build > [ ... ] > ===> Building package for gdome2-0.8.1 > Create /usr/ports/packages/i386/all/gdome2-0.8.1.tgz > Switching to /usr/ports/rilk/gdome2/pkg/PFRAG.shared > Shared library without SHARED_LIBS: @lib lib/libgdome.so.8.1 > ===> Cleaning for gdome2-0.8.1 > rm -f /usr/ports/packages/i386/all/gdome2-0.8.1.tgz > /usr/ports/packages/i386/ftp/gdome2-0.8.1.tgz > /usr/ports/packages/i386/cdrom/gdome2-0.8.1.tgz > *** Error code 1 > > Stop in /usr/ports/rilk/gdome2 (line 1392 of > /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/rilk/gdome2 (line 1890 of > /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/rilk/gdome2 (line 1681 of > /usr/ports/infrastructure/mk/bsd.port.mk). > > > > I use the following references: > http://openbsd.org/anoncvs.html > http://openbsd.org/porttest.html > http://openbsd.org/checklist.html > http://www.openbsd.org/cgi-bin/man.cgi?query=ports&sektion=7 > http://www.unixgarden.com/index.php/administration-systeme/empaquette-moi-le-codaz > http://gdome2.cs.unibo.it/ > > Cordialement, > Jean-Gérard > > # cat Makefile > COMMENT= "Gnome DOM Engine 2" > DISTNAME= gdome2-0.8.1 > CATEGORIES= textproc > HOMEPAGE= http://gdome2.cs.unibo.it/ > > MAINTAINER= Jean-Gerard Pailloncy <[EMAIL PROTECTED]> > > # LGPL > PERMIT_PACKAGE_CDROM= Yes > PERMIT_PACKAGE_FTP= Yes > PERMIT_DISTFILES_CDROM= Yes > PERMIT_DISTFILES_FTP= Yes > > MASTER_SITES= http://gdome2.cs.unibo.it/tarball/ > EXTRACT_SUFX= .tar.gz > > LIB_DEPENDS= ::textproc/libxml \ > ::devel/glib2 > USE_LIBTOOL= Yes > CONFIGURE_STYLE= autoconf > NO_REGRESS= Yes > > .include <bsd.port.mk> > > > > cat pkg/PLIST > @comment $OpenBSD$ > %%SHARED%% > bin/gdome-config > include/libgdome/ > include/libgdome/gdome-events.h > include/libgdome/gdome-libxml-util.h > include/libgdome/gdome-private-list.h > include/libgdome/gdome-refdebug.h > include/libgdome/gdome-treegc.h > include/libgdome/gdome-util.h > include/libgdome/gdome-xpath.h > include/libgdome/gdome.h > lib/gdomeConf.sh > lib/libgdome.a > lib/libgdome.la > lib/pkgconfig/ > lib/pkgconfig/gdome2.pc > @man man/man1/gdome-config.1 > share/aclocal/ > share/aclocal/gdome2.m4 > > > # cat pkg/PFRAG.shared > @comment $OpenBSD$ > @lib lib/libgdome.so.8.1 > > > >
