I'm not sure why this change was made, but it breaks the PWCBSD
option. It looked obviously wrong; it added a dependency on v4l_compat
and then disabled it by definining WITHOUT_V4L. Looking at the code
it's obvious V4L is required for anything other than network cameras
too.
- Use startup script via USE_RC_SUBR
- Add pkg-message to inform about startup script
- Fix a runtime error using wrong pid file in
daemonised process
Approved by: thierry (mentor)
MFH: 2014Q1
- Stage support
- Replace USE_GMAKE by USES
- New format for LIB_DEPENDS
- Use /boot/modules via KMODDIR as in other ports
PR: ports/184406
Submitted by: Ildar Hizbulin <hizel@vyborg.ru>
Approved by: co-mentor (jadawin)
ffmpeg.c:81: error: expected ')' before '*' token
ffmpeg.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mpeg1_file_protocol'
ffmpeg.c:136: error: expected ')' before '*' token
ffmpeg.c:160: error: expected ')' before '*' token
ffmpeg.c:166: error: expected ')' before '*' token
ffmpeg.c:172: error: expected ')' before '*' token
ffmpeg.c:178: error: expected ')' before '*' token
ffmpeg.c:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'file_protocol'
ffmpeg.c: In function 'mpeg1_write_trailer':
ffmpeg.c:207: warning: implicit declaration of function 'put_buffer'
ffmpeg.c:208: warning: implicit declaration of function 'put_flush_packet'
ffmpeg.c: In function 'ffmpeg_init':
ffmpeg.c:230: error: 'mpeg1_file_protocol' undeclared (first use in this function)
ffmpeg.c:230: error: (Each undeclared identifier is reported only once
ffmpeg.c:230: error: for each function it appears in.)
ffmpeg.c:230: error: 'file_protocol' undeclared (first use in this function)
ffmpeg.c:241:5: warning: #warning av_register_protocolXXX missing
ffmpeg.c: In function 'ffmpeg_open':
ffmpeg.c:406: warning: 'av_new_stream' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1817)
ffmpeg.c:465: warning: implicit declaration of function 'av_set_parameters'
ffmpeg.c:491: warning: implicit declaration of function 'avcodec_open'
ffmpeg.c:546: warning: implicit declaration of function 'url_fopen'
ffmpeg.c:546: error: 'URL_WRONLY' undeclared (first use in this function)
ffmpeg.c:577: warning: implicit declaration of function 'av_write_header'
ffmpeg.c: In function 'ffmpeg_close':
ffmpeg.c:644: warning: implicit declaration of function 'url_fclose'
ffmpeg.c: In function 'ffmpeg_put_frame':
ffmpeg.c:708: warning: 'avcodec_encode_video' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4261)
ffmpeg.c: In function 'ffmpeg_deinterlace':
ffmpeg.c:809: warning: 'avpicture_deinterlace' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4506)
these ports [1]
- Trim headers
- Remove indefinite article from COMMENT
- Convert tab to space in WWW lines
PR: ports/175415 [1]
Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> [1]
Discussed with: bapt
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
- Remove CONFIGURE_TARGET hack in various bsd.*.mk
- USE_GNOME=gnometarget is now an no-op
Changes to individual ports, other than removing the CONFIGURE_TARGET hack:
= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
- comms/gnuradio
- science/abinit
- science/elmer-fem
- science/elmer-matc
- science/elmer-meshgen2d
- science/elmerfront
- science/elmerpost
= use x86_64 as ARCH
- devel/g-wrap
= other changes
- print/magicfilter
GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf
Total # of ports modified: 1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)
PR: 126524 (obsoletes 52917)
Submitted by: rafan
Tested on: two pointyhat 7-amd64 exp runs (by pav)
Approved by: portmgr (pav)