pkgsrc/graphics/aalib/Makefile.common
reed 672069e299 Make sure doesn't build with slang support.
(I am using LOCALBASE as /usr and later noticed that gphoto2
wants libslang due to this aalib. aalib is one of the very
rare situations where it brings in extra support for me.)
2004-04-13 05:02:01 +00:00

35 lines
871 B
Text

# $NetBSD: Makefile.common,v 1.18 2004/04/13 05:02:01 reed Exp $
DISTNAME= aalib-${DIST_VERS}
CATEGORIES+= graphics
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=aa-project/}
DIST_VERS= 1.4rc4
BASE_VERS= 1.4.0.4
MAINTAINER?= manu@NetBSD.org
HOMEPAGE= http://aa-project.sourceforge.net/aalib/
DISTINFO_FILE= ${.CURDIR}/../../graphics/aalib/distinfo
PATCHDIR= ${.CURDIR}/../../graphics/aalib/patches
WRKSRC= ${WRKDIR}/aalib-1.4.0
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
CONFIGURE_ARGS+= --with-curses-driver=no
CONFIGURE_ARGS+= --with-slang-driver=no
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
GCC_REQD+= 2.95.3
.endif
.if !target(post-patch)
post-patch:
@for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \
${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \
&& ${MV} $$f.patch $$f; \
done
.endif
.include "../../mk/bsd.pkg.mk"