|
|
@ -22,20 +22,23 @@ |
|
|
|
|
|
|
|
vnc_inmake_xvnc() { |
|
|
|
|
|
|
|
for i in `ls $base/download/mirror/X/XFree86-4.4.0-src-{1,2,3}.tbz2` ; do |
|
|
|
tar $taropt $i |
|
|
|
for i in $xc_files ; do |
|
|
|
tar $taropt $archdir/$i |
|
|
|
done |
|
|
|
patch -p0 < xc.patch |
|
|
|
patch -p1 < $confdir/vnc-xfree86.diff |
|
|
|
[ -f $confdir/$xpkg.diff ] && patch -p1 < $confdir/$xpkg.diff |
|
|
|
|
|
|
|
cd xc ; |
|
|
|
eval $MAKE World ; |
|
|
|
cd xc |
|
|
|
eval $MAKE World |
|
|
|
cd .. |
|
|
|
} |
|
|
|
|
|
|
|
pkginstalled zlib && var_append confopt ' ' '--with-installed-zlib' |
|
|
|
|
|
|
|
hook_add inmake 1 vnc_inmake_xvnc |
|
|
|
if [ $xpkg == vnc-xfree86 ] ; then hook_add inmake 1 vnc_inmake_xvnc ; fi |
|
|
|
if [ $xpkg == vnc-xorg ] ; then |
|
|
|
echo_status "Xvnc server currently does not compile with xorg. Not building Xvnc server." |
|
|
|
fi |
|
|
|
|
|
|
|
makeinstopt="" |
|
|
|
hook_add postmake 10 './vncinstall $bindir $mandir' |
|
|
|