View | Details | Raw Unified | Return to bug 199506 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/Scripts/qa.sh (-1 / +7 lines)
Lines 255-261 libperl() { Link Here
255
	fi
255
	fi
256
}
256
}
257
257
258
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles libtool libperl"
258
prefixvar() {
259
	if test -d ${STAGEDIR}${PREFIX}/var; then
260
		warn "port uses ${PREFIX}/var instead of /var"
261
	fi
262
}
263
264
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles libtool libperl prefixvar"
259
265
260
ret=0
266
ret=0
261
cd ${STAGEDIR}
267
cd ${STAGEDIR}
(-)Mk/bsd.port.mk (-1 / +6 lines)
Lines 805-811 FreeBSD_MAINTAINER= portmgr@FreeBSD.org Link Here
805
#				  Default: ${PREFIX}
805
#				  Default: ${PREFIX}
806
# CONFIGURE_ARGS
806
# CONFIGURE_ARGS
807
#				- Pass these args to configure if ${HAS_CONFIGURE} is set.
807
#				- Pass these args to configure if ${HAS_CONFIGURE} is set.
808
#				  Default: "--prefix=${GNU_CONFIGURE_PREFIX} --infodir=${PREFIX}/${INFO_PATH}
808
#				  Default: "--prefix=${GNU_CONFIGURE_PREFIX}
809
#				  --infodir=${PREFIX}/${INFO_PATH} --localstatedir=/var
809
#				  --mandir=${MANPREFIX}/man --build=${CONFIGURE_TARGET}" if
810
#				  --mandir=${MANPREFIX}/man --build=${CONFIGURE_TARGET}" if
810
#				  GNU_CONFIGURE is set, "CC=${CC} CFLAGS=${CFLAGS}
811
#				  GNU_CONFIGURE is set, "CC=${CC} CFLAGS=${CFLAGS}
811
#				  PREFIX=${PREFIX} INSTALLPRIVLIB=${PREFIX}/lib
812
#				  PREFIX=${PREFIX} INSTALLPRIVLIB=${PREFIX}/lib
Lines 2678-2683 HAS_CONFIGURE= yes Link Here
2678
2679
2679
SET_LATE_CONFIGURE_ARGS= \
2680
SET_LATE_CONFIGURE_ARGS= \
2680
     _LATE_CONFIGURE_ARGS="" ; \
2681
     _LATE_CONFIGURE_ARGS="" ; \
2682
	if [ -z "${CONFIGURE_ARGS:M--localstatedir=*:Q}" ] && \
2683
	   ./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- --localstatedir > /dev/null; then \
2684
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --localstatedir=/var" ; \
2685
	fi ; \
2681
	if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \
2686
	if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \
2682
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \
2687
	    _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \
2683
	fi ; \
2688
	fi ; \
(-)devel/global/Makefile (+1 lines)
Lines 14-19 LICENSE= GPLv3 Link Here
14
OPTIONS_DEFINE=	DOCS
14
OPTIONS_DEFINE=	DOCS
15
15
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
CONFIGURE_ARGS=	--localstatedir="${PREFIX}/var"
17
INSTALL_TARGET=	install-strip
18
INSTALL_TARGET=	install-strip
18
USES=		libtool perl5
19
USES=		libtool perl5
19
20
(-)dns/opendnssec/Makefile (+1 lines)
Lines 15-20 BUILD_DEPENDS= ldns>=1.6.16:${PORTSDIR}/ Link Here
15
LIB_DEPENDS=	libldns.so:${PORTSDIR}/dns/ldns
15
LIB_DEPENDS=	libldns.so:${PORTSDIR}/dns/ldns
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--localstatedir="${PREFIX}/var"
18
USE_RC_SUBR=	opendnssec
19
USE_RC_SUBR=	opendnssec
19
USE_GNOME=	libxml2
20
USE_GNOME=	libxml2
20
USES=		perl5
21
USES=		perl5
(-)dns/opendnssec13/Makefile (+1 lines)
Lines 17-22 BUILD_DEPENDS= ldns>=1.6.16:${PORTSDIR}/ Link Here
17
LIB_DEPENDS=	libldns.so:${PORTSDIR}/dns/ldns
17
LIB_DEPENDS=	libldns.so:${PORTSDIR}/dns/ldns
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--localstatedir="${PREFIX}/var"
20
USE_RC_SUBR=	opendnssec
21
USE_RC_SUBR=	opendnssec
21
USE_GNOME=	libxml2
22
USE_GNOME=	libxml2
22
USES=		perl5
23
USES=		perl5
(-)games/wolfpack/Makefile (-2 / +1 lines)
Lines 17-24 USES= gmake perl5 Link Here
17
USE_PERL5=	build
17
USE_PERL5=	build
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
BINDIR=		${PREFIX}/lib/${PORTNAME}
19
BINDIR=		${PREFIX}/lib/${PORTNAME}
20
VARDIR=		${PREFIX}/var/${PORTNAME}
20
CONFIGURE_ARGS=	--bindir=${BINDIR} --sbindir=${BINDIR} --localstatedir="${PREFIX}/var"
21
CONFIGURE_ARGS+=	--bindir=${BINDIR} --sbindir=${BINDIR}
22
21
23
CONFLICTS_INSTALL=	empire-[0-9]*
22
CONFLICTS_INSTALL=	empire-[0-9]*
24
23
(-)games/xlogical/Makefile (-4 / +3 lines)
Lines 14-24 COMMENT= Remake of the classic puzzle ga Link Here
14
14
15
LICENSE=	GPLv2
15
LICENSE=	GPLv2
16
16
17
USES=		gmake tar:bzip2 dos2unix
18
USE_AUTOTOOLS=	aclocal automake autoconf
19
AUTOMAKE_ARGS=	--add-missing
20
USE_SDL=	sdl image mixer
21
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--localstatedir="${PREFIX}/var"
19
USES=		autoreconf dos2unix gmake tar:bzip2
20
USE_SDL=	sdl image mixer
22
21
23
OPTIONS_DEFINE=	DOCS
22
OPTIONS_DEFINE=	DOCS
24
23
(-)lang/smalltalk/Makefile (+1 lines)
Lines 33-38 GNU_CONFIGURE= yes Link Here
33
CONFIGURE_ENV=	ac_cv_prog_EMACS=no ac_cv_prog_AWK=gawk
33
CONFIGURE_ENV=	ac_cv_prog_EMACS=no ac_cv_prog_AWK=gawk
34
CONFIGURE_ARGS=	--enable-generational-gc=no \
34
CONFIGURE_ARGS=	--enable-generational-gc=no \
35
		--enable-gtk=no \
35
		--enable-gtk=no \
36
		--localstatedir="${PREFIX}/var" \
36
		--with-emacs=no \
37
		--with-emacs=no \
37
		--with-gmp=no
38
		--with-gmp=no
38
USE_LDCONFIG=	yes
39
USE_LDCONFIG=	yes
(-)mail/gnarwl/Makefile (-1 / +1 lines)
Lines 16-22 BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:${P Link Here
16
USES=		iconv gmake tar:tgz
16
USES=		iconv gmake tar:tgz
17
USE_OPENLDAP=	yes
17
USE_OPENLDAP=	yes
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--with-docdir=${DOCSDIR}
19
CONFIGURE_ARGS=	--with-docdir=${DOCSDIR} --localstatedir="${PREFIX}/var"
20
CPPFLAGS+=	-I${LOCALBASE}/include
20
CPPFLAGS+=	-I${LOCALBASE}/include
21
LIBS+=		-L${LOCALBASE}/lib ${ICONV_LIB}
21
LIBS+=		-L${LOCALBASE}/lib ${ICONV_LIB}
22
22
(-)net/ndisc6/Makefile (-1 / +1 lines)
Lines 16-22 LICENSE= GPLv2 Link Here
16
USES=		tar:bzip2 perl5
16
USES=		tar:bzip2 perl5
17
USE_GCC=	any
17
USE_GCC=	any
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--disable-suid-install
19
CONFIGURE_ARGS=	--disable-suid-install --localstatedir="${PREFIX}/var"
20
CONFIGURE_ENV=	PERL=${LOCALBASE}/bin/perl
20
CONFIGURE_ENV=	PERL=${LOCALBASE}/bin/perl
21
MAKE_ENV=	CHOWNPROG=:
21
MAKE_ENV=	CHOWNPROG=:
22
22
(-)net-mgmt/smokeping/Makefile (+1 lines)
Lines 36-41 GNU_CONFIGURE= yes Link Here
36
CONFIGURE_ENV+=	PERL=${PERL} PERL5LIB=${PREFIX}/smokeping/lib
36
CONFIGURE_ENV+=	PERL=${PERL} PERL5LIB=${PREFIX}/smokeping/lib
37
CONFIGURE_ARGS+=	\
37
CONFIGURE_ARGS+=	\
38
		--sysconfdir=${ETCDIR} \
38
		--sysconfdir=${ETCDIR} \
39
		--localstatedir="${PREFIX}/var" \
39
		--with-htdocs-dir=${PREFIX}/smokeping/htdocs \
40
		--with-htdocs-dir=${PREFIX}/smokeping/htdocs \
40
		--libdir=${PREFIX}/smokeping/lib
41
		--libdir=${PREFIX}/smokeping/lib
41
HTDOCSDIR=	${PREFIX}/smokeping/htdocs
42
HTDOCSDIR=	${PREFIX}/smokeping/htdocs
(-)security/krb5/Makefile (-1 / +1 lines)
Lines 28-34 USE_CSTD= gnu99 Link Here
28
GNU_CONFIGURE=		yes
28
GNU_CONFIGURE=		yes
29
USES=			cpe gettext gmake perl5 libtool:build
29
USES=			cpe gettext gmake perl5 libtool:build
30
CONFIGURE_ARGS?=	--enable-shared --without-system-verto \
30
CONFIGURE_ARGS?=	--enable-shared --without-system-verto \
31
			--disable-rpath
31
			--disable-rpath --localstatedir="${PREFIX}/var"
32
CONFIGURE_ENV=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}"
32
CONFIGURE_ENV=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}"
33
MAKE_ARGS=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}"
33
MAKE_ARGS=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}"
34
34
(-)security/krb5-111/Makefile (-1 / +2 lines)
Lines 32-38 USE_PERL5= build Link Here
32
USE_LDCONFIG=		yes
32
USE_LDCONFIG=		yes
33
USE_CSTD=		gnu99
33
USE_CSTD=		gnu99
34
GNU_CONFIGURE=		yes
34
GNU_CONFIGURE=		yes
35
CONFIGURE_ARGS?=	--without-system-verto --disable-rpath
35
CONFIGURE_ARGS?=	--without-system-verto --disable-rpath \
36
			--localstatedir="${PREFIX}/var"
36
CONFIGURE_ENV=		NSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}"
37
CONFIGURE_ENV=		NSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}"
37
MAKE_ARGS=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}"
38
MAKE_ARGS=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}"
38
39
(-)security/krb5-112/Makefile (-1 / +1 lines)
Lines 30-36 USE_CSTD= gnu99 Link Here
30
GNU_CONFIGURE=		yes
30
GNU_CONFIGURE=		yes
31
USES=			cpe gettext gmake perl5 libtool:build
31
USES=			cpe gettext gmake perl5 libtool:build
32
CONFIGURE_ARGS?=	--enable-shared --without-system-verto \
32
CONFIGURE_ARGS?=	--enable-shared --without-system-verto \
33
			--disable-rpath
33
			--disable-rpath --localstatedir="${PREFIX}/var"
34
CONFIGURE_ENV=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}"
34
CONFIGURE_ENV=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}"
35
MAKE_ARGS=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}"
35
MAKE_ARGS=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}"
36
36
(-)security/nessus/Makefile (+1 lines)
Lines 28-33 GTK2_USES= pkgconfig Link Here
28
GTK2_USE=	GNOME=gtk20
28
GTK2_USE=	GNOME=gtk20
29
29
30
GNU_CONFIGURE=	yes
30
GNU_CONFIGURE=	yes
31
CONFIGURE_ARGS=	--localstatedir="${PREFIX}/var"
31
MAKE_JOBS_UNSAFE=	yes
32
MAKE_JOBS_UNSAFE=	yes
32
SUB_FILES=	nessusd.conf
33
SUB_FILES=	nessusd.conf
33
USE_RC_SUBR=	nessusd
34
USE_RC_SUBR=	nessusd
(-)security/nessus-libnasl/Makefile (+1 lines)
Lines 21-26 LICENSE= GPLv2 Link Here
21
LIB_DEPENDS=	libnessus.so:${PORTSDIR}/security/nessus-libraries
21
LIB_DEPENDS=	libnessus.so:${PORTSDIR}/security/nessus-libraries
22
22
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--localstatedir="${PREFIX}/var"
24
USES=		bison libtool
25
USES=		bison libtool
25
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
26
USE_OPENSSL=	yes
27
USE_OPENSSL=	yes
(-)security/nessus-libraries/Makefile (-1 / +1 lines)
Lines 21-27 COMMENT= Libraries for Nessus, the secur Link Here
21
LICENSE=	LGPL20
21
LICENSE=	LGPL20
22
22
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--enable-cipher
24
CONFIGURE_ARGS=	--enable-cipher --localstatedir="${PREFIX}/var"
25
.if defined(WITH_NESSUS_BPF_SHARE)
25
.if defined(WITH_NESSUS_BPF_SHARE)
26
CONFIGURE_ARGS+=	--enable-bpf-sharing
26
CONFIGURE_ARGS+=	--enable-bpf-sharing
27
.endif
27
.endif
(-)security/nessus-plugins/Makefile (-1 / +1 lines)
Lines 24-30 USES= libtool Link Here
24
WRKSRC=		${WRKDIR}/nessus-plugins
24
WRKSRC=		${WRKDIR}/nessus-plugins
25
25
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--with-fetchcmd=wget
27
CONFIGURE_ARGS=	--with-fetchcmd=wget --localstatedir="${PREFIX}/var"
28
28
29
post-patch:
29
post-patch:
30
	@${REINPLACE_CMD} 's/-o $$(installuser)//' ${WRKSRC}/Makefile
30
	@${REINPLACE_CMD} 's/-o $$(installuser)//' ${WRKSRC}/Makefile
(-)security/softhsm2/Makefile (-3 / +2 lines)
Lines 14-24 COMMENT= Software implementation of a Ha Link Here
14
14
15
LICENSE=	BSD2CLAUSE
15
LICENSE=	BSD2CLAUSE
16
16
17
LIB_DEPENDS+=	libsqlite3.so:${PORTSDIR}/databases/sqlite3
17
LIB_DEPENDS=	libsqlite3.so:${PORTSDIR}/databases/sqlite3
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
20
CONFIGURE_ARGS=	--with-sqlite3=${LOCALBASE} --localstatedir="${PREFIX}/var"
21
CONFIGURE_ARGS+=	--with-sqlite3=${LOCALBASE}
22
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
23
USES=		libtool
22
USES=		libtool
24
23
(-)textproc/mifluz/Makefile (+1 lines)
Lines 14-19 LICENSE= GPLv3 Link Here
14
USES=		bison iconv libtool makeinfo pathfix
14
USES=		bison iconv libtool makeinfo pathfix
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
CONFIGURE_ARGS=	--enable-posixmutexes \
16
CONFIGURE_ARGS=	--enable-posixmutexes \
17
		--localstatedir="${PREFIX}/var" \
17
		--without-unac
18
		--without-unac
18
INSTALL_TARGET=	install-strip
19
INSTALL_TARGET=	install-strip
19
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
(-)textproc/soothsayer/Makefile (-1 / +1 lines)
Lines 22-28 CONFIGURE_ENV= ac_cv_path_CPPUNIT_CONFIG Link Here
22
		ac_cv_path_SWIG=no \
22
		ac_cv_path_SWIG=no \
23
		ac_cv_prog_HAVE_DOT=no \
23
		ac_cv_prog_HAVE_DOT=no \
24
		ac_cv_prog_HAVE_DOXYGEN=no
24
		ac_cv_prog_HAVE_DOXYGEN=no
25
CONFIGURE_ARGS=	--disable-python-binding
25
CONFIGURE_ARGS=	--disable-python-binding --localstatedir="${PREFIX}/var"
26
INSTALL_TARGET=	install-strip
26
INSTALL_TARGET=	install-strip
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
28

Return to bug 199506