Add the HAVE_* defines to CXXFLAGS as well as CFLAGS. Add -lstdc++ to
LDADD, which lead to the unfortunate PORTREVISION bump. PR: ports/40874 Submitted by: Jan Stocker
This commit is contained in:
parent
e2f5a7ed7e
commit
59425510d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63387
2 changed files with 3 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= libfpx
|
||||
PORTVERSION= 1.2.0.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://imagemagick.sourceforge.net/http/delegates/ \
|
||||
ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/%SUBDIR%/ \
|
||||
|
@ -31,7 +32,6 @@ MAINTAINER= mi@aldan.algebra.com
|
|||
|
||||
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
|
||||
MAKE_ARGS+= -j2
|
||||
#CFLAGS+= -DHAVE_WCHAR_H=1 -DHAVE_DLFCN_H=1
|
||||
USE_REINPLACE= yes
|
||||
REINPLACE_ARGS= -i ""
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@ CPPS += ${OLESS:S/^/${.CURDIR}\/oless\//} ${JPGS}
|
|||
|
||||
SRCS = ${CPPS:T}
|
||||
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions
|
||||
LDADD += -L${LOCALBASE}/lib -ljpeg
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions -DHAVE_WCHAR_H=1 -DHAVE_DLFCN_H=1
|
||||
LDADD += -L${LOCALBASE}/lib -ljpeg -lstdc++
|
||||
|
||||
.PATH: ${CPPS:H}
|
||||
|
||||
|
|
Loading…
Reference in a new issue