summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/version/Makefile
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-06-29 19:06:42 +0000
committereik <eik@FreeBSD.org>2004-06-29 19:06:42 +0000
commit3883d107114d126a28a9163c5bf67cb766ec7779 (patch)
tree1ab5b5afad8e17719ffc614e8b575ec26c5c8bd5 /usr.sbin/pkg_install/version/Makefile
parent338dc29a063a48607925d36ac38dd1f0263c2e8b (diff)
downloadFreeBSD-src-3883d107114d126a28a9163c5bf67cb766ec7779.zip
FreeBSD-src-3883d107114d126a28a9163c5bf67cb766ec7779.tar.gz
- pkg_add spawns itself as argv[0] when installing dependent packages, to
enable the use as a port on older systems - use absolute paths in all calls to external programs, to account for strange PATH settings - use INDEX or INDEX-5 depending on FreeBSD version, to enable the use on FreeBSD 4.x as a port. - conditionalize all 4.x/5.x differences on __FreeBSD_version, so that the pkg_install tools can be kept in sync on 4.x and 5.x - Bump PKG_INSTALL_VERSION Reviewed by: portmgr (bento run) MFC after: 4 weeks
Diffstat (limited to 'usr.sbin/pkg_install/version/Makefile')
-rw-r--r--usr.sbin/pkg_install/version/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/version/Makefile b/usr.sbin/pkg_install/version/Makefile
index b097a3a..23ccf39 100644
--- a/usr.sbin/pkg_install/version/Makefile
+++ b/usr.sbin/pkg_install/version/Makefile
@@ -5,7 +5,8 @@ SRCS= main.c perform.c
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
-WARNS?= 2
+WARNS?= 6
+WFORMAT?= 1
DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
LDADD= ${LIBINSTALL} -lfetch -lmd
OpenPOWER on IntegriCloud