Infrastructure: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2014-12-23 08:40:45 +01:00
parent 7f3ddf50cb
commit e028ce3b3f
5 changed files with 13 additions and 14 deletions

View file

@ -208,7 +208,7 @@ libtool() {
libperl() {
local has_some_libperl_so files found
if [ -n "${SITE_ARCH_REL}" ]; then
if [ -n "${SITE_ARCH_REL}" -a -d "${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}" ]; then
has_some_libperl_so=0
files=0
while read f; do

View file

@ -170,13 +170,13 @@ PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \
_MANPAGES+= ${P5MAN${sect}:S%^%${PREFIX}/lib/perl5/${PERL_VER}/man/man${sect}/%}
.endif
.endfor
MANDIRS+= ${SITE_PERL}/man
MANDIRS+= ${PREFIX}/${SITE_PERL_REL}/man
.if ${_USE_PERL5:Mmodbuild} || ${_USE_PERL5:Mmodbuildtiny}
_USE_PERL5+= configure
ALL_TARGET?= # empty
CONFIGURE_ARGS+=--install_path lib="${SITE_PERL}" \
--install_path arch="${SITE_ARCH}" \
CONFIGURE_ARGS+=--install_path lib="${PREFIX}/${SITE_PERL_REL}" \
--install_path arch="${PREFIX}/${SITE_ARCH_REL}" \
--install_path script="${PREFIX}/bin" \
--install_path bin="${PREFIX}/bin" \
--install_path libdoc="${MAN3PREFIX}/man/man3" \
@ -232,7 +232,7 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \
INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"
CONFIGURE_SCRIPT?= Makefile.PL
MAN3PREFIX?= ${SITE_PERL}
MAN3PREFIX?= ${PREFIX}/${SITE_PERL_REL}
.undef HAS_CONFIGURE
.if !target(do-configure)

View file

@ -1225,14 +1225,6 @@ _OSVERSION_MAJOR= ${OSVERSION:C/([0-9]?[0-9])([0-9][0-9])[0-9]{3}/\1/}
.error OSREL (${OSREL}) and OSVERSION (${OSVERSION}) do not agree on major version number.
.endif
# Enable new xorg for FreeBSD versions after Radeon KMS was imported unless
# WITHOUT_NEW_XORG is set.
.if !defined(WITHOUT_NEW_XORG)
WITH_NEW_XORG?= yes
.else
.undef WITH_NEW_XORG
.endif
# Only define tools here (for transition period with between pkg tools)
.include "${PORTSDIR}/Mk/bsd.commands.mk"

View file

@ -7,6 +7,14 @@
WARNING+= "WITHOUT_NLS is deprecated use OPTIONS_UNSET=NLS instead"
.endif
.if defined(WITH_NEW_XORG) || defined(WITHOUT_NEW_XORG)
WARNING+= "WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect"
.endif
.if defined(WITH_KMS) || defined(WITHOUT_KMS)
WARNING+= "WITH_KMS was removed and has no effect"
.endif
#.if defined(PKGORIGIN)
#.for _c in ${CATEGORIES}
#_CAT?= ${_c}

View file

@ -9,4 +9,3 @@ MAINTAINER=
COMMENT=
.include <bsd.port.mk>