freebsd-ports/cad/alliance/Makefile

59 lines
1.6 KiB
Makefile
Raw Normal View History

# Created by: hrs
PORTNAME= alliance
DISTVERSION= 5.1.1
PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= ftp://asim.lip6.fr/pub/alliance/distribution/5.0/ \
ftp://ftp.lyx.org/lip6/softs/alliance/distribution/5.0/ \
ftp://ftp.jussieu.fr/lip6/softs/alliance/distribution/5.0/
MAINTAINER= ports@FreeBSD.org
COMMENT= Complete set of CAD tools and libraries for VLSI design
LICENSE= Alliance
LICENSE_NAME= Alliance VLSI Cad System License
LICENSE_FILE= ${WRKSRC}/LICENCE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
Mark broken: Does not compile on 8 and 9: cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"alliance\" -DVERSION=\"5.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DRETSIGTYPE=void -DHAVE_MOTIF=1 -DHAVE_XPM=1 -DHAVE_XPM=1 -DHAVE_X11_XPM_H=1 -DHAVE_XP=1 -DHAVE_MOTIF=1 -DHAVE_XMUSEVERSION=1 -DHAVE_XMINSTALLIMAGE=1 "-DALLIANCE_VERSION=\"5.0 20090901\"" -DALLIANCE_TOP=\"/usr/local/alliance\" -I. -I. -I../../mbk/src -I../../pat/src -O2 -pipe -fno-strict-aliasing -MT pat_decl_y.lo -MD -MP -MF .deps/pat_decl_y.Tpo -c pat_decl_y.c -fPIC -DPIC -o .libs/pat_decl_y.o y.tab.c:562: error: duplicate 'extern' on 10 and head: elp.c:252:1: error: non-void function 'elpLotrsShrink' should return a value [-Wreturn-type] return ; ^ elp.c:460:1: error: non-void function 'elpLofigCapaDiff' should return a value [-Wreturn-type] return ; ^ elp.c:490:1: error: non-void function 'elpLofigCapaGrid' should return a value [-Wreturn-type] return ; ^ elp.c:518:1: error: non-void function 'elpLofigShrink' should return a value [-Wreturn-type] return ; Reported by: pkg-fallout since august 2013
2014-02-12 21:42:58 +01:00
BROKEN_aarch64= fails to link: collect2: error: ld returned 1 exit status
BUILD_DEPENDS= convert:graphics/ImageMagick7 \
fig2dev:print/fig2dev
USES= autoreconf:build gmake libtool motif tar:bz2 xorg
USE_GCC= yes
USE_TEX= dvipsk:build latex:build
USE_XORG= ice sm x11 xext xt
HAS_CONFIGURE= yes
CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP} YACC=${YACC}
CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
--prefix=${ALLIANCE_TOP}
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
CFLAGS+= -fcommon
CONFLICTS_INSTALL= fspclient
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/alliance/src
ALLIANCE_TOP= ${PREFIX}/alliance
post-patch:
@${REINPLACE_CMD} -e '/include <malloc.h>/d' \
${WRKSRC}/xgra/src/XSB_parse.c
# These Makefiles contain hardcoded references to make(1). Replace them with
# gmake(1) to avoid build failures of the documentation.
@${REINPLACE_CMD} -e 's/; make/; gmake/' \
${WRKSRC}/documentation/Makefile.am \
${WRKSRC}/documentation/alliance-examples/Makefile \
${WRKSRC}/documentation/tutorials/Makefile.am
pre-configure:
@cd ${WRKSRC} && ./autostuff
.include <bsd.port.mk>