aboutsummaryrefslogtreecommitdiff
path: root/print/a2ps/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2021-09-07 19:53:43 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2021-09-07 19:53:43 +0000
commit75237f055fc917d0b6430079f3db410b4fc4e22b (patch)
tree9aa0cf78cae300153531eb4601bc2ad933c4910e /print/a2ps/Makefile
parent496ef87ce4279d334bf7e7095165e7b4af5df501 (diff)
downloadports-75237f055fc917d0b6430079f3db410b4fc4e22b.tar.gz
ports-75237f055fc917d0b6430079f3db410b4fc4e22b.zip
print/a2ps: Fix build for CURRENT
Diffstat (limited to 'print/a2ps/Makefile')
-rw-r--r--print/a2ps/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile
index c2a75d53a2df..6474852bb6e6 100644
--- a/print/a2ps/Makefile
+++ b/print/a2ps/Makefile
@@ -51,6 +51,10 @@ EMACS_CONFIGURE_ON= --with-lispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}
CONFIGURE_ENV+= EMACS=no
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1400000
+CFLAGS+= -DHAVE_MEMPCPY
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|^DESTDIR|#DESTDIR|' \
`${FIND} ${WRKSRC} -name "Makefile.in"`