mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
- Fix build
- Stage support PR: 185933 Submitted by: Ports Fury
This commit is contained in:
parent
65ec8e6cf0
commit
1af1afd6af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343234
2 changed files with 20 additions and 24 deletions
|
@ -11,17 +11,16 @@ DISTNAME= libAfterImage-${PORTVERSION}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Generic imaging library originally designed for AfterStep
|
COMMENT= Generic imaging library originally designed for AfterStep
|
||||||
|
|
||||||
BROKEN= Fails to build
|
|
||||||
|
|
||||||
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
|
|
||||||
gif.5:${PORTSDIR}/graphics/giflib \
|
|
||||||
png15:${PORTSDIR}/graphics/png \
|
|
||||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
||||||
freetype.9:${PORTSDIR}/print/freetype2
|
|
||||||
|
|
||||||
LICENSE= LGPL21
|
LICENSE= LGPL21
|
||||||
|
|
||||||
|
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
|
||||||
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
||||||
|
libpng15.so:${PORTSDIR}/graphics/png \
|
||||||
|
libtiff.so:${PORTSDIR}/graphics/tiff \
|
||||||
|
libfreetype.so:${PORTSDIR}/print/freetype2
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
|
USES= pkgconfig
|
||||||
USE_XORG= xext
|
USE_XORG= xext
|
||||||
USE_GNOME= librsvg2
|
USE_GNOME= librsvg2
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -31,30 +30,26 @@ CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs \
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
MAN1= ascompose.1x
|
|
||||||
|
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
NO_STAGE= yes
|
OPTIONS_DEFINE_amd64= MMX
|
||||||
.include <bsd.port.pre.mk>
|
OPTIONS_DEFINE_i386= MMX
|
||||||
|
|
||||||
.if ${MACHINE_CPU:Mmmx}
|
MMX_CONFIGURE_ENABLE= mmx-optimization
|
||||||
CONFIGURE_ARGS+= --enable-mmx-optimization
|
|
||||||
.else
|
.include <bsd.port.options.mk>
|
||||||
CONFIGURE_ARGS+= --disable-mmx-optimization
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
|
@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|CFLAGS="-O3"||g ; \
|
@${REINPLACE_CMD} -e \
|
||||||
s| malloc\.h | |g' \
|
's|CFLAGS="-O3"||g ; \
|
||||||
${WRKSRC}/configure
|
s| malloc\.h | |g' ${WRKSRC}/configure
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_MAN} ${WRKSRC}/apps/ascompose.man \
|
(cd ${WRKSRC}/apps && ${INSTALL_MAN} ascompose.man \
|
||||||
${MANPREFIX}/man/man1/ascompose.1x
|
${STAGEDIR}${MANPREFIX}/man/man1/ascompose.1x)
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
bin/afterimage-config
|
bin/afterimage-config
|
||||||
bin/afterimage-libs
|
bin/afterimage-libs
|
||||||
bin/ascompose
|
|
||||||
bin/ascheckttf
|
bin/ascheckttf
|
||||||
|
bin/ascompose
|
||||||
bin/asflip
|
bin/asflip
|
||||||
bin/asgrad
|
bin/asgrad
|
||||||
bin/asi18n
|
bin/asi18n
|
||||||
|
@ -37,4 +37,5 @@ include/libAfterImage/xpm.h
|
||||||
include/libAfterImage/xwrap.h
|
include/libAfterImage/xwrap.h
|
||||||
lib/libAfterImage.so
|
lib/libAfterImage.so
|
||||||
lib/libAfterImage.so.0
|
lib/libAfterImage.so.0
|
||||||
|
man/man1/ascompose.1x.gz
|
||||||
@dirrm include/libAfterImage
|
@dirrm include/libAfterImage
|
||||||
|
|
Loading…
Add table
Reference in a new issue