/[gentoo-x86]/sys-kernel/linux-extras/linux-extras-2.4.4-r5.ebuild
Gentoo

Diff of /sys-kernel/linux-extras/linux-extras-2.4.4-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
276 276
277 if [ "`use xfs`" ] 277 if [ "`use xfs`" ]
278 then 278 then
279 cd ${S}/extras/xfs-${XFSV}/acl 279 cd ${S}/extras/xfs-${XFSV}/acl
280 try make distclean 280 try make distclean
281 rm -f include/builddefs
281 try make \ 282 try make \
282 CPPFLAGS=\""-I${S}/include"\" \ 283 CPPFLAGS=\""-I${S}/include"\" \
283 configure 284 configure
284 try make \ 285 try make \
285 PKG_SBIN_DIR=/sbin \ 286 PKG_SBIN_DIR=/sbin \
290 OPTIMIZER=\""${CFLAGS}"\" \ 291 OPTIMIZER=\""${CFLAGS}"\" \
291 DEBUG=\"\" 292 DEBUG=\"\"
292 293
293 cd ${S}/extras/xfs-${XFSV}/attr 294 cd ${S}/extras/xfs-${XFSV}/attr
294 try make distclean 295 try make distclean
296 rm -f include/builddefs
295 try make \ 297 try make \
296 CPPFLAGS=\""-I${S}/include"\" \ 298 CPPFLAGS=\""-I${S}/include"\" \
297 configure 299 configure
298 try make \ 300 try make \
299 PKG_SBIN_DIR=/bin \ 301 PKG_SBIN_DIR=/bin \
304 OPTIMIZER=\""${CFLAGS}"\" \ 306 OPTIMIZER=\""${CFLAGS}"\" \
305 DEBUG=\"\" 307 DEBUG=\"\"
306 308
307 cd ${S}/extras/xfs-${XFSV}/xfsprogs 309 cd ${S}/extras/xfs-${XFSV}/xfsprogs
308 try make distclean 310 try make distclean
311 rm -f include/builddefs
309 try make \ 312 try make \
310 CPPFLAGS=\""-I${S}/include"\" \ 313 CPPFLAGS=\""-I${S}/include"\" \
311 configure 314 configure
312 try make \ 315 try make \
313 PKG_SBIN_DIR=/sbin \ 316 PKG_SBIN_DIR=/sbin \
321 324
322 # dmapi and xfsdump must be built last, cuz they depend on libattr (in attr) and libxfs (in xfsprogs) 325 # dmapi and xfsdump must be built last, cuz they depend on libattr (in attr) and libxfs (in xfsprogs)
323 cd ${S}/extras/xfs-${XFSV}/dmapi 326 cd ${S}/extras/xfs-${XFSV}/dmapi
324 ln -sf ../../xfsprogs/include include/xfs 327 ln -sf ../../xfsprogs/include include/xfs
325 try make distclean 328 try make distclean
329 rm -f include/builddefs
326 try make \ 330 try make \
327 CPPFLAGS=\""-I${S}/include -I${S}/extras/xfs-${XFSV}/dmapi/include"\" \ 331 CPPFLAGS=\""-I${S}/include -I${S}/extras/xfs-${XFSV}/dmapi/include"\" \
328 configure 332 configure
329 try make \ 333 try make \
330 PKG_INC_DIR=/usr/include/dmapi \ 334 PKG_INC_DIR=/usr/include/dmapi \
336 340
337 cd ${S}/extras/xfs-${XFSV}/xfsdump 341 cd ${S}/extras/xfs-${XFSV}/xfsdump
338 ln -sf ../../xfsprogs/include include/xfs 342 ln -sf ../../xfsprogs/include include/xfs
339 ln -sf ../../attr/include include/attr 343 ln -sf ../../attr/include include/attr
340 try make distclean 344 try make distclean
345 rm -f include/builddefs
341 try make \ 346 try make \
342 CPPFLAGS=\""-I${S}/include -I${S}/extras/xfs-${XFSV}/xfsdump/include -I${S}/extras/xfs-${XFSV}/xfsprogs/include -I${S}/extras/xfs-${XFSV}/attr/include"\" \ 347 CPPFLAGS=\""-I${S}/include -I${S}/extras/xfs-${XFSV}/xfsdump/include -I${S}/extras/xfs-${XFSV}/xfsprogs/include -I${S}/extras/xfs-${XFSV}/attr/include"\" \
343 LDFLAGS=\""-L${S}/extras/xfs-${XFSV}/attr/libattr -L${S}/extras/xfs-${XFSV}/xfsprogs/libxfs -L${S}/extras/xfs-${XFSV}/xfsprogs/libhandle -lhandle"\" \ 348 LDFLAGS=\""-L${S}/extras/xfs-${XFSV}/attr/libattr -L${S}/extras/xfs-${XFSV}/xfsprogs/libxfs -L${S}/extras/xfs-${XFSV}/xfsprogs/libhandle -lhandle"\" \
344 configure 349 configure
345 try make \ 350 try make \
371 then 376 then
372 cd ${S}/extras/alsa-driver-${AV} 377 cd ${S}/extras/alsa-driver-${AV}
373 # This is needed for linux-extras 378 # This is needed for linux-extras
374 if [ -f "Makefile.conf" ] 379 if [ -f "Makefile.conf" ]
375 then 380 then
376 try make distclean 381 try make mrproper
377 fi 382 fi
378 try ./configure --with-kernel=\"${S}\" --with-isapnp=yes --with-sequencer=yes --with-oss=yes --with-cards=all 383 try ./configure --with-kernel=\"${S}\" --with-isapnp=yes --with-sequencer=yes --with-oss=yes --with-cards=all
379 try make 384 try make
380 fi 385 fi
381 if [ "`use pcmcia-cs`" ] 386 if [ "`use pcmcia-cs`" ]
597 if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ] 602 if [ "${PN}" = "linux-sources" ] && [ -e .config.eg ] && [ ! -e .config ]
598 then 603 then
599 cp -a .config.eg .config 604 cp -a .config.eg .config
600 fi 605 fi
601} 606}
602
603#pkg_postrm() {
604#
605# rm -f ${ROOT}/usr/src/linux
606# rm -rf ${ROOT}/usr/src/linux-${KV}
607#}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20