mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
901a6c9511
gcc and clang archs. add dep on fftw.
fixes a build problem on ports-gcc archs where the default library path
includes /usr/local/lib/gcc/ARCH-unknown-openbsd/15.2.0/../../.., a.k.a.
/usr/local/lib, but the default include search path for system headers
just has /usr/local/lib/gcc/x86_64-unknown-openbsd/15.2.0/include{,-fixed}
and /usr/include (so the library is picked up, but headers are not).
ok claudio@
35 lines
580 B
Makefile
35 lines
580 B
Makefile
V ?= 43
|
|
|
|
DISTNAME ?= ngspice-${V}
|
|
|
|
CATEGORIES ?= cad
|
|
|
|
HOMEPAGE ?= https://ngspice.sourceforge.net/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE ?= Yes
|
|
|
|
SITES ?= ${SITE_SOURCEFORGE:=ngspice/}
|
|
|
|
USE_GMAKE ?= yes
|
|
|
|
AUTOCONF_VERSION = 2.69
|
|
AUTOMAKE_VERSION = 1.16
|
|
|
|
CONFIGURE_STYLE = autoreconf
|
|
|
|
TAR = ${LOCALBASE}/bin/gtar
|
|
|
|
# C++ + C11
|
|
COMPILER ?= base-clang ports-gcc
|
|
BUILD_DEPENDS += archivers/gtar
|
|
|
|
CONFIGURE_ARGS += --enable-cider \
|
|
--enable-xspice \
|
|
--with-readline=yes
|
|
|
|
CONFIGURE_ARGS += --disable-openmp
|
|
|
|
CONFIGURE_ENV = CPPFLAGS=-I${LOCALBASE}/include \
|
|
LDFLAGS=-L${LOCALBASE}/lib
|