7bd8162335
-pipe (!) on gcc 2.95 and with -O2 on gcc 3.2.
41 lines
966 B
Makefile
41 lines
966 B
Makefile
# $OpenBSD: Makefile,v 1.14 2003/07/22 22:44:45 naddy Exp $
|
|
|
|
COMMENT= "Type 1 rasterizer library for UNIX/X11"
|
|
|
|
VERSION= 5.0.0
|
|
DISTNAME= t1lib-${VERSION}
|
|
CATEGORIES= devel textproc
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/graphics/}
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
# work around optimizer bug in gcc 2.95/3.2
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
PATCH_LIST= gcc-patch-* patch-*
|
|
.endif
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/ac-tools
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
ALL_TARGET= without_doc
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC}/ac-tools; \
|
|
${PATCH} --forward --quiet -E < \
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig && \
|
|
${PATCH} --forward --quiet -E < \
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh
|
|
|
|
.include <bsd.port.mk>
|