summaryrefslogtreecommitdiff
path: root/graphics/libfpx
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-12-22 20:12:06 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-12-22 20:12:06 +0000
commit33cd6f536a75a5023e7ac0998d0474c5ff429c33 (patch)
tree043a1f8cd41585436798d7443c334be876e0d351 /graphics/libfpx
parentAdd new distsites -- all ImageMagick's mirrors carry the distfile in the (diff)
Reorder the include (-I) path to end, rather than start, with
${LOCALBASE}/include. The old behaviour was working almost always, because the package's own header files are well-named, except for the common.h, which caused build failure for at least one person. PR: ports/32247
Diffstat (limited to 'graphics/libfpx')
-rw-r--r--graphics/libfpx/files/Makefile.bsd3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/libfpx/files/Makefile.bsd b/graphics/libfpx/files/Makefile.bsd
index 92fa703a2fc1..f425028c0924 100644
--- a/graphics/libfpx/files/Makefile.bsd
+++ b/graphics/libfpx/files/Makefile.bsd
@@ -22,7 +22,6 @@ CPPS += ${OLESS:S/^/${.CURDIR}\/oless\//} ${JPGS}
SRCS = ${CPPS:T}
-CXXFLAGS+= -I${LOCALBASE}/include -D_UNIX
CXXFLAGS+= -fno-rtti -fno-exceptions
LDADD += -L${LOCALBASE}/lib -ljpeg
@@ -32,4 +31,6 @@ LDADD += -L${LOCALBASE}/lib -ljpeg
CXXFLAGS+= -I${.CURDIR}/$d
.endfor
+CXXFLAGS+= -I${LOCALBASE}/include -D_UNIX
+
.include <bsd.lib.mk>