Your FreeBSD ports: fixes for broken Makefiles

Peter Much pmc at citylink.dinoex.sub.org
Sun Jan 27 22:44:02 PST 2008


Hi,

  trying to build databases/pgadmin3 on FreeBSD 5.5 (yes i know i
should upgrade, but there are now so many ports to install!) - it 
fails because of two broken Makefiles:

1. databases/pgadmin3 - logic error:
2. devel/liboil - compiler version 4.0+ is not supported from 
   Mk/bsd.gcc.mk - making it 4.1+ works and fetches the gcc42
   that openoffice had installed.

That's not worth a bugreport - just drop it in at next occasion,
please.

rgds,
PMc

*** databases/pgadmin3/Makefile.orig    Mon Jan 28 02:38:22 2008
--- databases/pgadmin3/Makefile Mon Jan 28 03:32:27 2008
***************
*** 34,40 ****
  
  .include <bsd.port.pre.mk>
  
! .if ${OSVERSION} < 503105 || ${OSVERSION} < 600014
  IGNORE= can not be built. Your system has broken vswprintf(3) function
  .endif
  
--- 34,40 ----
  
  .include <bsd.port.pre.mk>
  
! .if ${OSVERSION} < 503105 || (${OSVERSION} > 600000 && ${OSVERSION} < 600014)
  IGNORE= can not be built. Your system has broken vswprintf(3) function
  .endif

*** devel/liboil/Makefile.orig  Wed Jan  2 04:51:26 2008
--- devel/liboil/Makefile       Mon Jan 28 03:23:50 2008
***************
*** 32,38 ****
  .endif
  
  .if defined(WITH_3DNOW_GCC40) && ${OSVERSION} < 700042
! USE_GCC=      4.0+
  .if ${OSVERSION} < 600000
  RUN_DEPENDS+= ${BUILD_DEPENDS}
  .endif
--- 32,38 ----
  .endif
  
  .if defined(WITH_3DNOW_GCC40) && ${OSVERSION} < 700042
! USE_GCC=      4.1+
  .if ${OSVERSION} < 600000
  RUN_DEPENDS+= ${BUILD_DEPENDS}
  .endif


More information about the freebsd-multimedia mailing list