summaryrefslogtreecommitdiff
path: root/graphics/libfpx
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-07-22 14:58:52 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-07-22 14:58:52 +0000
commit59425510d51c6378896820df3a22a9468ff0c57c (patch)
tree79b5243f2609f022a465110dd55e3b1f7b2b3d58 /graphics/libfpx
parentRe-enable statvfs() tests now that -CURRENT has the function. (diff)
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
Notes
Notes: svn path=/head/; revision=63387
Diffstat (limited to 'graphics/libfpx')
-rw-r--r--graphics/libfpx/Makefile2
-rw-r--r--graphics/libfpx/files/Makefile.bsd4
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/libfpx/Makefile b/graphics/libfpx/Makefile
index 2dfb5993b1dc..ff04814faff6 100644
--- a/graphics/libfpx/Makefile
+++ b/graphics/libfpx/Makefile
@@ -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 ""
diff --git a/graphics/libfpx/files/Makefile.bsd b/graphics/libfpx/files/Makefile.bsd
index e0e1a639f8d5..644dd0f77e8c 100644
--- a/graphics/libfpx/files/Makefile.bsd
+++ b/graphics/libfpx/files/Makefile.bsd
@@ -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}