mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -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
|
||||
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
|
||||
|
||||
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
|
||||
USES= pkgconfig
|
||||
USE_XORG= xext
|
||||
USE_GNOME= librsvg2
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -31,30 +30,26 @@ CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs \
|
|||
USE_LDCONFIG= yes
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
MAN1= ascompose.1x
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
OPTIONS_DEFINE_amd64= MMX
|
||||
OPTIONS_DEFINE_i386= MMX
|
||||
|
||||
.if ${MACHINE_CPU:Mmmx}
|
||||
CONFIGURE_ARGS+= --enable-mmx-optimization
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-mmx-optimization
|
||||
.endif
|
||||
MMX_CONFIGURE_ENABLE= mmx-optimization
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-extract:
|
||||
@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|CFLAGS="-O3"||g ; \
|
||||
s| malloc\.h | |g' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|CFLAGS="-O3"||g ; \
|
||||
s| malloc\.h | |g' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/apps/ascompose.man \
|
||||
${MANPREFIX}/man/man1/ascompose.1x
|
||||
(cd ${WRKSRC}/apps && ${INSTALL_MAN} ascompose.man \
|
||||
${STAGEDIR}${MANPREFIX}/man/man1/ascompose.1x)
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
bin/afterimage-config
|
||||
bin/afterimage-libs
|
||||
bin/ascompose
|
||||
bin/ascheckttf
|
||||
bin/ascompose
|
||||
bin/asflip
|
||||
bin/asgrad
|
||||
bin/asi18n
|
||||
|
@ -37,4 +37,5 @@ include/libAfterImage/xpm.h
|
|||
include/libAfterImage/xwrap.h
|
||||
lib/libAfterImage.so
|
||||
lib/libAfterImage.so.0
|
||||
man/man1/ascompose.1x.gz
|
||||
@dirrm include/libAfterImage
|
||||
|
|
Loading…
Add table
Reference in a new issue