aboutsummaryrefslogtreecommitdiff
path: root/textproc/mdocml
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-09-25 09:29:55 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-09-25 09:29:55 +0000
commitfa9801ca04dfed61b3612b0d7137c8d0148ee605 (patch)
tree5ff8a84c0be092e303e08ffbafd0259bfeb3e1ea /textproc/mdocml
parent3acbb2f2fa250e291b726624eda14834550e70d4 (diff)
downloadports-fa9801ca04dfed61b3612b0d7137c8d0148ee605.tar.gz
ports-fa9801ca04dfed61b3612b0d7137c8d0148ee605.zip
Don't clobber user-defined DEBUG_FLAGS setting
While here also remove redundant EXAMPLESDIR overrride PR: ports/150927 Submitted by: Anonymous <swell.k@gmail.com>
Notes
Notes: svn path=/head/; revision=261820
Diffstat (limited to 'textproc/mdocml')
-rw-r--r--textproc/mdocml/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile
index 02ee9d19411e..915c6ce7f109 100644
--- a/textproc/mdocml/Makefile
+++ b/textproc/mdocml/Makefile
@@ -17,9 +17,10 @@ COMMENT= mdoc macro compiler
MAN1= mandoc.1
MAN7= man.7 mdoc.7 roff.7 mandoc_char.7
-PLIST_SUB+= EXAMPLESDIR=share/examples/mandoc
+EXAMPLESDIR_REL=share/examples/mandoc
post-patch:
- ${REINPLACE_CMD} '/^PREFIX/s/=/?=/' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e '/^CFLAGS/s/-g//' -e '/^PREFIX/s/=/?=/' \
+ ${WRKSRC}/Makefile
.include <bsd.port.mk>