diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-05-12 15:53:38 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-05-12 15:53:38 +0800 |
commit | 5df9fab7ad079df4ecb6fe99385d5d5eb7998b0d (patch) | |
tree | e449bf440bb3cff4681ad77c1cf9bd9adcb0abd6 /multimedia/gopchop/Makefile | |
parent | 8da21d9c484a5dd0aaa87d3ea001689af109013b (diff) | |
download | freebsd-ports-gnome-5df9fab7ad079df4ecb6fe99385d5d5eb7998b0d.tar.gz freebsd-ports-gnome-5df9fab7ad079df4ecb6fe99385d5d5eb7998b0d.tar.zst freebsd-ports-gnome-5df9fab7ad079df4ecb6fe99385d5d5eb7998b0d.zip |
- Fix build on -stable
- Utilize USE_GETOPT_LONG
PR: 51869
Submitted by: Ports Fury
Diffstat (limited to 'multimedia/gopchop/Makefile')
-rw-r--r-- | multimedia/gopchop/Makefile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/multimedia/gopchop/Makefile b/multimedia/gopchop/Makefile index 66507122804d..cbe3e9261fd6 100644 --- a/multimedia/gopchop/Makefile +++ b/multimedia/gopchop/Makefile @@ -18,22 +18,27 @@ DISTNAME= GOPchop-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= MPEG2 GOP-accurate editor -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ - mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 \ - SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ - intl.4:${PORTSDIR}/devel/gettext \ - iconv.3:${PORTSDIR}/converters/libiconv +LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ + mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 + +SDLCONFIG?= ${LOCALBASE}/bin/sdl11-config USE_GNOME= gtk12 +USE_GETOPT_LONG= yes USE_REINPLACE= yes -SDLCONFIG?= ${LOCALBASE}/bin/sdl11-config GNU_CONFIGURE= yes -CONFIGURE_ENV= \ - CPPFLAGS="${CXXFLAGS} -DHAVE_DECL_GETOPT -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" \ - SDLCONFIG="${SDLCONFIG}" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ + SDLCONFIG="${SDLCONFIG}" +CONFIGURE_ARGS= --disable-mlib + +CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT +LDFLAGS= -L${LOCALBASE}/lib post-patch: - @${REINPLACE_CMD} -e 's|-lglib||g' ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e 's| -mcpu=.*"|"|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|pixmaps/\$$(PACKAGE)|\$$(PACKAGE)/pixmaps|g ; \ + s|-lglib||g' .include <bsd.port.mk> |