mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
From the submitter:
Currently, the hylafax port has a few flaws -- it uses the libz and regex libraries that come with the software instead of the implementations available on FreeBSD and ignores the local CFLAGS settings. It also needlessly (it seems) requires gmake. PR: 19552 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
This commit is contained in:
parent
2949cb5d8b
commit
646999a27c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30324
@ -27,12 +27,13 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
||||
|
||||
DIST_SUBDIR= hylafax
|
||||
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= --with-INSTALL="" \
|
||||
--with-MAKE=gmake --with-CC=/usr/bin/cc \
|
||||
--with-LIBTIFF="-L${LOCALBASE}/lib -ltiff -ljpeg" \
|
||||
--with-TIFFINC="${LOCALBASE}/include"
|
||||
--with-ZLIB=no --with-LIBZ=-lz --with-ZLIBINC=none \
|
||||
--with-TIFFINC="${LOCALBASE}/include" \
|
||||
--with-REGEX=no --with-LIBREGEX='' --with-REGEXINC=none
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ENV= ENVOPTS="${CFLAGS}"
|
||||
|
||||
MAN1= hylafax.1 faxalter.1 faxcover.1 faxmail.1 faxrm.1 faxstat.1 sendfax.1 \
|
||||
sendpage.1 sgi2fax.1 textfmt.1
|
||||
@ -50,6 +51,9 @@ MAN8= cqtest.8c choptest.8c dialtest.8c faxabort.8c faxaddmodem.8c \
|
||||
SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \
|
||||
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
|
||||
|
||||
post-extract:
|
||||
${RM} -rf ${WRKSRC}/zlib ${WRKSRC}/regex
|
||||
|
||||
post-install:
|
||||
${CHOWN} uucp ${SUID_EXES}
|
||||
${CHMOD} 4555 ${SUID_EXES}
|
||||
|
Loading…
Reference in New Issue
Block a user