mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
o Do not install *.la files; hence, add USE_LIBTOOL required by
patch o Fix build when WITHOUT_SDL is defined o Convert to USE_GNOMENG o Bump PORTREVISION PR: 41501 Submitted by: KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
parent
716626f322
commit
abe5b36b3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64704
6 changed files with 56 additions and 26 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= libdv
|
||||
PORTVERSION= 0.9.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -16,41 +17,46 @@ MAINTAINER= lioux@FreeBSD.org
|
|||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
popt.0:${PORTSDIR}/devel/popt
|
||||
|
||||
USE_GNOMELIBS= yes
|
||||
USE_GTK= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gtk12
|
||||
USE_REINPLACE= yes
|
||||
USE_XLIB= yes
|
||||
XFREE86_VERSION= 4
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
MAN1= encodedv.1 playdv.1
|
||||
|
||||
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
||||
|
||||
DOC_FILES= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \
|
||||
README.dvconnect README.encoder TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.ifndef(WITHOUT_SDL)
|
||||
LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
|
||||
|
||||
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
||||
|
||||
CONFIGURE_ARGS+= --enable-sdl
|
||||
CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}"
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS+= --with-x
|
||||
|
||||
pre-everything::
|
||||
.if ${XFREE86_VERSION} < 4
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> ATTENTION <==='
|
||||
@${ECHO_MSG} '===> YOU NEED XFREE86 Version 4.0 <==='
|
||||
@${ECHO_MSG} '===> or above to run this <==='
|
||||
@${ECHO_MSG} '===> SINCE IT REQUIRES XV <==='
|
||||
@${ECHO_MSG} '===>'
|
||||
.ifndef(WITHOUT_SDL)
|
||||
@${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support'
|
||||
@${FALSE}
|
||||
.endif
|
||||
.ifndef(WITHOUT_SDL)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support'
|
||||
@${ECHO_MSG} '===>'
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
|
@ -77,4 +83,4 @@ post-install:
|
|||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
10
graphics/libdv/files/patch-configure
Normal file
10
graphics/libdv/files/patch-configure
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- configure.orig Mon Apr 8 05:44:39 2002
|
||||
+++ configure Sat Aug 10 01:08:07 2002
|
||||
@@ -7384,6 +7384,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
@ -4,7 +4,6 @@ include/libdv/dv.h
|
|||
include/libdv/dv1394.h
|
||||
include/libdv/dv_types.h
|
||||
lib/libdv.a
|
||||
lib/libdv.la
|
||||
lib/libdv.so
|
||||
lib/libdv.so.1
|
||||
libdata/pkgconfig/libdv.pc
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= libdv
|
||||
PORTVERSION= 0.9.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -16,41 +17,46 @@ MAINTAINER= lioux@FreeBSD.org
|
|||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
popt.0:${PORTSDIR}/devel/popt
|
||||
|
||||
USE_GNOMELIBS= yes
|
||||
USE_GTK= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gtk12
|
||||
USE_REINPLACE= yes
|
||||
USE_XLIB= yes
|
||||
XFREE86_VERSION= 4
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
MAN1= encodedv.1 playdv.1
|
||||
|
||||
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
||||
|
||||
DOC_FILES= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \
|
||||
README.dvconnect README.encoder TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.ifndef(WITHOUT_SDL)
|
||||
LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
|
||||
|
||||
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
||||
|
||||
CONFIGURE_ARGS+= --enable-sdl
|
||||
CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}"
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS+= --with-x
|
||||
|
||||
pre-everything::
|
||||
.if ${XFREE86_VERSION} < 4
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> ATTENTION <==='
|
||||
@${ECHO_MSG} '===> YOU NEED XFREE86 Version 4.0 <==='
|
||||
@${ECHO_MSG} '===> or above to run this <==='
|
||||
@${ECHO_MSG} '===> SINCE IT REQUIRES XV <==='
|
||||
@${ECHO_MSG} '===>'
|
||||
.ifndef(WITHOUT_SDL)
|
||||
@${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support'
|
||||
@${FALSE}
|
||||
.endif
|
||||
.ifndef(WITHOUT_SDL)
|
||||
@${ECHO_MSG} '===>'
|
||||
@${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support'
|
||||
@${ECHO_MSG} '===>'
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
|
@ -77,4 +83,4 @@ post-install:
|
|||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
10
multimedia/libdv/files/patch-configure
Normal file
10
multimedia/libdv/files/patch-configure
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- configure.orig Mon Apr 8 05:44:39 2002
|
||||
+++ configure Sat Aug 10 01:08:07 2002
|
||||
@@ -7384,6 +7384,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
@ -4,7 +4,6 @@ include/libdv/dv.h
|
|||
include/libdv/dv1394.h
|
||||
include/libdv/dv_types.h
|
||||
lib/libdv.a
|
||||
lib/libdv.la
|
||||
lib/libdv.so
|
||||
lib/libdv.so.1
|
||||
libdata/pkgconfig/libdv.pc
|
||||
|
|
Loading…
Add table
Reference in a new issue