aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-10-16 04:16:31 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-10-16 04:16:31 +0800
commitbc50eec7755c68f3777d122636d855afeff4932a (patch)
treeeb5055e065169bc0e334569d923f3ea5b77fe42c /misc
parent62808ed9a876a88b376c97ec5f6b3fe8ce4831db (diff)
downloadfreebsd-ports-gnome-bc50eec7755c68f3777d122636d855afeff4932a.tar.gz
freebsd-ports-gnome-bc50eec7755c68f3777d122636d855afeff4932a.tar.zst
freebsd-ports-gnome-bc50eec7755c68f3777d122636d855afeff4932a.zip
- Add LICENSE_FILE
- Use LIBS instead of CFLAGS - Cleanup Makefile
Diffstat (limited to 'misc')
-rw-r--r--misc/help2man/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/help2man/Makefile b/misc/help2man/Makefile
index 5311f9182dd0..ee2558dba977 100644
--- a/misc/help2man/Makefile
+++ b/misc/help2man/Makefile
@@ -11,10 +11,11 @@ MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Automatically generating simple manual pages from program output
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= NLS
-CFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
# keep gmake:lite has a dependency to avoid circular dependency
USES= gmake:lite perl5
@@ -27,7 +28,6 @@ LANGS= de el eo fi fr hr it pl pt_BR ru sr sv uk vi
LANGS_MTREE= ja # languages that already exist in BSD.local.dist
NLS_BUILD_DEPENDS= p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext
-NLS_CFLAGS= -lintl
NLS_CONFIGURE_ENABLE= nls
# Add note of build failure caused by Perl infrastructure change in 20130612
NLS_VARS= CONFIGURE_FAIL_MESSAGE="Please read UPDATING entry 20130612 \(http://svnweb.freebsd.org/ports/head/UPDATING\?r1=320405\&r2=320679\) and PR/184276 \(http://www.freebsd.org/cgi/query-pr.cgi\?pr=ports/184276\) to fix your Perl installation if you got the error message \"configure: error: perl module Locale::gettext required\"."