TIFFINC now matches the other *INC variables.
# non-standard location then setup LIBTIFF accordingly.
#
#LIBTIFF="-L/usr/local/lib -ltiff" # linkage convention for libtiff
-#TIFFINC="/usr/local/include" # place to find tiffio.h
+#TIFFINC="-I/usr/local/include" # place to find tiffio.h
#TIFFBIN="/usr/local/bin" # where TIFF tools live
#
OPTIMIZER="-O"
LIBCRYPT=
LIBPAM=
-LIBTIFF="-L/usr/local/lib -ltiff"
-TIFFINC=/usr/local/include
+LIBTIFF="-ltiff"
+TIFFINC=
TIFFBIN=
LIBUTIL=
LIBZ=
}
EOF
capture cat t.c
- if runMake t "t:; \${CC} \${CVERSION} -I${OTIFFINC} t.c ${LIBTIFF} ${MACHDEPLIBS}"; then
+ if runMake t "t:; \${CC} \${CVERSION} ${OTIFFINC} t.c ${LIBTIFF} ${MACHDEPLIBS}"; then
header_ver=0
lib_ver=""
eval `./a.out | \
--with-PATH_GSRIP="/usr/bin/gs" \
--with-MANSCHEME="bsd-source-gzip-strip" \
--with-INSTALL='${PORT}/../debian/install ${PORT}' \
- --with-LIBTIFF="-ltiff" \
- --with-TIFFINC="/usr/include" \
- --with-TIFFBIN="/usr/bin" \
--with-LIBZ="-lz" \
--with-ZLIBINC="-I/usr/include" \
--with-CONFIG_MAXGID="65534" \
GCOPTS = @GCOPTS@ ${OPTIMIZER} @PROTOTYPES@
GCDEFS = @ANSICPP@
GCINCS = -I. -I${DEPTH} -I${REGEXINC} -I${SRCDIR} \
- -I${DEPTH}/${TOPSRCDIR}/libhylafax -I${TIFFINC} ${INTLINC}
+ -I${DEPTH}/${TOPSRCDIR}/libhylafax ${TIFFINC} ${INTLINC}
#
# C++ flags are decomposed using the same hierarchy as C flags.
#
GC++OPTS = @GCXXOPTS@ ${OPTIMIZER}
GC++INCS = -I. -I${DEPTH} -I${REGEXINC} -I${SRCDIR} \
- -I${DEPTH}/${TOPSRCDIR}/libhylafax -I${TIFFINC} ${INTLINC}
+ -I${DEPTH}/${TOPSRCDIR}/libhylafax ${TIFFINC} ${INTLINC}
GC++DEFS = @ANSICXXPP@
#