b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
39 lines
927 B
Makefile
39 lines
927 B
Makefile
# $NetBSD: Makefile,v 1.27 2005/12/05 20:49:51 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= fasthenry-3.0-12Nov96
|
|
PKGNAME= fasthenry-3.0.19961112
|
|
CATEGORIES= cad
|
|
MASTER_SITES= http://www.rle.mit.edu/cpg/codes/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= dmcmahill@NetBSD.org
|
|
HOMEPAGE= http://www.rle.mit.edu/cpg/research_codes.htm
|
|
COMMENT= Three-dimensional inductance extraction program
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
WRKSRC= ${WRKDIR}/fasthenry-3.0
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ./config
|
|
CONFIGURE_ARGS+= default
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
LIBS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib
|
|
.if (${MACHINE_ARCH} == "alpha")
|
|
#
|
|
# optimized libffm (free fast math library)
|
|
#
|
|
. include "../../math/libffm/buildlink3.mk"
|
|
DEPENDS+= libffm-[0-9]*:../../math/libffm
|
|
LIBS+= -lffm
|
|
.endif
|
|
LIBS+= -lm
|
|
MAKE_ENV+= LIBS=${LIBS:M*:Q}
|
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
|
GCC_REQD+= 2.95.3
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|