aboutsummaryrefslogtreecommitdiffstats
path: root/print/detex
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2010-02-05 14:37:48 +0800
committerglewis <glewis@FreeBSD.org>2010-02-05 14:37:48 +0800
commit047a31d320e7bba67fb3a50ce44503027d69c9b2 (patch)
tree96a86e8eeda51ef81c5596f91858dc87ba780a1b /print/detex
parentb9433c7798c5ecb321658762865e45904329d669 (diff)
downloadfreebsd-ports-gnome-047a31d320e7bba67fb3a50ce44503027d69c9b2.tar.gz
freebsd-ports-gnome-047a31d320e7bba67fb3a50ce44503027d69c9b2.tar.zst
freebsd-ports-gnome-047a31d320e7bba67fb3a50ce44503027d69c9b2.zip
. FreeBSD has <string.h>, so define HAVE_STRING_H during compilation.
This gets rid of warnings about implicit declarations of strlen, etc.
Diffstat (limited to 'print/detex')
-rw-r--r--print/detex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/print/detex/Makefile b/print/detex/Makefile
index ecc9542b4eb1..478e47f16c7d 100644
--- a/print/detex/Makefile
+++ b/print/detex/Makefile
@@ -19,7 +19,7 @@ EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= #empty
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNO_MALLOC_DECL"
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNO_MALLOC_DECL -DHAVE_STRING_H"
MAN1= detex.1
PLIST_FILES= bin/detex