mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
Make sure our CPPFLAGS and LDFLAGS get placed at the end of the compiler
arguments so the compiler finds the openjpeg 2.1 headers before the old 1.5 header. Which are installed in ${LOCALBASE}/include/openjpeg-2.1 and ${LOCALBASE}/include respectively. This fixes the build when the MODULES option is turned off, and both openjpeg ports are installed. PR: 195442 Submitted by: mail@ozzmosis.com
This commit is contained in:
parent
528d242a0b
commit
1f8fc830f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375313
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ CONFIGURE_ARGS= --without-dps \
|
|||
--without-lcms
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CPPFLAGS+= -isystem${LOCALBASE}/include
|
||||
LDFLAGS+= -Wl,-Y${LOCALBASE}/lib
|
||||
|
||||
SAMPLE_FILES= coder.xml colors.xml delegates.xml log.xml magic.xml mime.xml \
|
||||
policy.xml quantization-table.xml thresholds.xml type-dejavu.xml \
|
||||
|
|
Loading…
Add table
Reference in a new issue