Hi

I am working on understanding the ports environment and at the same time, creating a port for guacamole.  I know it's not going to fully work at this point in time because of issues with freerdp, but I'm working on freerdp as well.  However, Stuart gave patches that I've updated to get freerdp2.1.1 to build.

I want to get a package going for guacamole from scratch.   ssh support does work at a minimum (I've got that far testing outside of the ports infrastructure).

It applies patches and compiles clean.  However, when I try to create a package, it seems to want to include the libraries that I have in WANTLIB.

Am I missing a step somewhere?  It seems more like a mis-configuration in my Makefile though...

desktop# make repackage
===>  Cleaning for guacamole-server-1.1.0
rm -f /usr/ports/packages/amd64/all/guacamole-server-1.1.0.tgz /usr/ports/packages/amd64/ftp/guacamole-server-1.1.0.tgz /usr/ports/pobj/guacamole-server-1.1.0/fake-amd64/debug-pkg/Makefile
rm -f /usr/ports/packages/amd64/cache/guacamole-server-1.1.0.tgz
rm -f  /usr/ports/update/amd64/guacamole-server-1.1.0
`/usr/ports/pobj/guacamole-server-1.1.0/fake-amd64/.fake_done' is up to date.
===>  Building package for guacamole-server-1.1.0
Create /usr/ports/packages/amd64/all/guacamole-server-1.1.0.tgz
Missing library for cairo>=0.0
Missing library for png>=0.0
Missing library for ossp-uuid>=0.0
Missing library for webp>=0.0
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3398 'port-wantlib-args': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$( mktem...) *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3389 'wantlib-args': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$( mktemp -d ...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2117 '/usr/ports/packages/amd64/all/guacamole-server-1.1.0.tgz': @trap "cd /usr/p...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2598 '_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$( mktem...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2577 'package': @lock=guacamole-server-1.1.0;  export _LOCKS_HELD=" guacamole-ser...) *** Error 2 in /usr/ports/www/guacamole (/usr/ports/infrastructure/mk/bsd.port.mk:3585 'repackage': @cd /usr/ports/www/guacamole && PKGPATH=..


Here is the stripped down version of my current Makefile.  What am I missing?  I have grepped and searched other ports Makefiles but I cannot seem to find a clue.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COMMENT =       guacamole clientless remote desktop gateway

DISTNAME =      guacamole-server-1.1.0

# for any port that creates shared libraries.
# both libtool and cmake automatically set filenames based on this variable.
# for libtool- or cmake-based ports, have a look at WRKBUILD/shared_libs.log
# TODO
#SHARED_LIBS =  ???     0.0

# the category used in the directory name, /usr/ports/<category>/portname,
# must be included and listed first.
CATEGORIES = www guacamole

MAINTAINER = st...@williamsitconsulting.com

# Need to research this!!
PERMIT_PACKAGE =        Yes

WANTLIB += cairo
WANTLIB += png
WANTLIB += ossp-uuid
WANTLIB += webp

MASTER_SITES = https://apache.mirror.gtcomm.net/guacamole/1.1.0/source/

CONFIGURE_STYLE = simple

CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -D_BSD_SOURCE" \
                LDFLAGS="-L${LOCALBASE}/lib"

CFLAGS +=               -D_BSD_SOURCE

.include <bsd.port.mk>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thanks,
Steve Williams

Reply via email to