freebsd-ports/security/expiretable/files/patch-Makefile
Renato Botelho 712ed31c3e security/expiretable: Fix build on 13+
get_states() is the reason it stopped building on FreeBSD 13 and newer.
Retire this function since it's not used anywhere and get the build
fixed.

PR:		253547
Reported by:	mike@sentex.net
Reviewed by:	kp
Approved by:	maintainer timeout (2 weeks)
Obtained from:	pfSense
MFH:		2021Q2
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2021-05-04 09:18:48 -03:00

13 lines
384 B
Text

--- Makefile.orig 2006-01-11 13:09:05 UTC
+++ Makefile
@@ -21,8 +21,8 @@ MAN=expiretable.1
all: ${TARGET}
install: ${TARGET}
- ${INSTALL} -g bin -o root -m 755 ${TARGET} ${INSTALL_BIN}
- ${INSTALL} -g bin -o root -m 644 ${MAN} ${INSTALL_MAN}
+ ${INSTALL} -s -m 755 ${TARGET} ${DESTDIR}${INSTALL_BIN}
+ ${INSTALL} -m 644 ${MAN} ${DESTDIR}${INSTALL_MAN}
clean:
rm -f ${TARGET}