Date: Sat, 17 May 2003 20:42:39 -0700 From: Adam Weinberger <adamw@freebsd.org> To: Andy Pavlo <amp0928@rit.edu> Cc: freebsd-ports@freebsd.org Subject: Re: Need Help Finalizing Port for Hotkeys Message-ID: <20030518034239.GV31083@vectors.cx> In-Reply-To: <000001c31ce3$dae63620$6400a8c0@carebear> References: <000001c31ce3$dae63620$6400a8c0@carebear>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> (05.17.2003 @ 1919 PST): Andy Pavlo said, in 0.3K: << > Here are my port files: > > http://www.rit.edu/~amp0928/hotkeys-port.tar.gz > > Thank you for looking >> end of "RE: Need Help Finalizing Port for Hotkeys" from Andy Pavlo << K. First of all, you want to use GNU_CONFIGURE instead of HAS_CONFIGURE. However: doing make PREFIX=/whatever worked just fine. Take this excerpt from 'make -n install-exec-am' in ${WRKSRC}/src: bin/sh ../config/mkinstalldirs /whatever/bin list='hotkeys'; for p in $list; do if test -f $p; then echo " install - -c -s -o root -g wheel -m 555 $p /whatever/bin/`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`"; install -c -s -o root -g wheel -m 555 $p /whatever/bin/`echo $p|sed 's/$//'|sed 's,x,x,'|sed 's/$//'`; else :; fi; done So, on my machine, that's all OK. What isn't working on my 4-STABLE machine is the build itself: c -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/local/share/hotkeys\" - -DCONFDIR=\"/usr/local/etc\" -DCONFIG_NAME=\"hotkeys.conf\" - -I/usr/local/include/db3 -O -pipe -O -pipe -march=pentiumpro - -I/usr/X11R6/include -I/usr/local/include/libxml2 -I/usr/local/include - -O -pipe -march=pentiumpro -I/usr/X11R6/include -Wall -I.. -c xmalloc.c xmalloc.c:42: error.h: No such file or directory xmalloc.c: In function `fixup_null_alloc': xmalloc.c:82: warning: implicit declaration of function `uError' xmalloc.c:83: warning: implicit declaration of function `bailout' gmake[2]: *** [xmalloc.o] Error 1 gmake[2]: Leaving directory `/tmp/hotkeys/work/hotkeys-0.5.7.1/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/hotkeys/work/hotkeys-0.5.7.1' gmake: *** [all-recursive-am] Error 2 *** Error code 2 # Adam - -- Adam Weinberger vectors.cx >> adam@vectors.cx FreeBSD.org << adamw@FreeBSD.ORG #vim:set ts=8: 8-char tabs prevent tooth decay. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+xwEvo8KM2ULHQ/0RAqqWAJ90wxgwLMHKxxMj1JSK19qXXhEGFACgtJwg 7lfikxGO0xTr54hx6gZt7mo= =z5oV -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030518034239.GV31083>