From nobody Fri May 26 08:07:57 2023 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QSHbd4RCqz4V9pW for ; Fri, 26 May 2023 08:07:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QSHbd1YHZz47nC for ; Fri, 26 May 2023 08:07:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685088477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RzX7DbLj/+1eBXIKx8v5CWt2xDvxUyIFcv4/gZWfz08=; b=rDG6lCUZWM2L1+XD3Dz9mbEzd4I+o5eNbP1A0MGXo2X6LSa2vj3MT7+dDdL1YZUb6sMKkf zDb4dOwIPSUxSPJvcGbeYQckAJUcFTLhg0NLfLc79XBNP2wNM9HglvqaIBiqZ8lnLRZhTE n1ePo/4MLxmYU0IWt8ZZno0qZyiD12ciVmkDkLtJgjlOwZ80hYldsISD7rzbMOrBtPYqLI z7xAX30omzyhrZv70Iti1tzK/VjYc2N5U+oR5j96LHG4wpxVwavfC/iHN4MaKy15HI/L2L P4HNczIp0YJ5yZABlVrJVEO3jSV+xVmV3Tnfh6qGVpQoGdbYqYX89dlYIPWorQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685088477; a=rsa-sha256; cv=none; b=QgjSt7txCrU17zGO9upAEXi8k1Ht16UWKZT352/NRIxcwVjjEKRy9w9yYIBwMFqYjOd//T qiyOix4+gITnLiqle3scgBpTBngNX3APOW8ek50aXTM4rGIlqGRe4UlM8oySFTWqtJ0CPq /78c46LzaQAXK5D2srUVcY9rzOdN0vlS+V1gbd2w1Jx/FSfpcLe7GixCKfbp3b8UAgN92C krWtKvJmZNQJBl6Dd9Xzo6JKAOD+3VbObxrzIsJcKdaVHUmSL8ULTFBp383yizso+0NKQX Zh9P1/dsygoHz5BblDgs21bJhINTlXxjJps4+asSejPuUPKvI7Dz4eXlTni3vA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QSHbd0dPlzyMZ for ; Fri, 26 May 2023 08:07:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34Q87vut073906 for ; Fri, 26 May 2023 08:07:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34Q87vnD073905 for desktop@FreeBSD.org; Fri, 26 May 2023 08:07:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 271625] graphics/png: manpages installed into wrong directory Date: Fri, 26 May 2023 08:07:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271625 --- Comment #4 from Michael Osipov --- (In reply to Tatsuki Makino from comment #3) It seems so, looking at './configure --help'. This truly confuses me: root@deblndw011x:/var/poudriere/ports/default-head/ftp/curl (main-custom) # make -V MANPREFIX /usr/local root@deblndw011x:/var/poudriere/ports/default-head/ftp/curl (main-custom) # grep mandir work/curl-8.1.1/Makefile CONFIGURE_OPTIONS =3D " '--disable-werror' '--enable-dateparse' '--enable-dnsshuffle' '--enable-headers-api' '--enable-hsts' '--enable-http-auth' '--enable-mime' '--enable-netrc' '--enable-openssl-auto-load-config' '--enable-progress-meter' '--with-fish-functions-dir=3D/usr/local/share/fish/completions' '--with-zsh-functions-dir=3D/usr/local/share/zsh/site-functions' '--disable-alt-svc' '--without-brotli' '--disable-ares' '--without-ca-bundl= e' '--enable-cookies' '--disable-curldebug' '--disable-debug' '--disable-dict' '--disable-ftp' '--without-gnutls' '--disable-gopher' '--with-gssapi=3D/usr/local' 'CFLAGS=3D-I/usr/local/include -O2 -pipe=20 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ' 'LDFLAGS=3D-L/usr/local/lib -L/usr/local/lib -L/usr/lib -Wl,-rpath,/usr/local/lib:/usr/lib -L/usr/lib -fstack-protector-strong ' 'LIBS=3D-lkrb5 -lgssapi_krb5 -lkrb5 -lgssapi_krb5 -L/usr/local/lib' 'KRB5CONFIG=3D/usr/local/bin/krb5-config' '--enable-http' '--with-nghttp2' '--without-libidn2' '--disable-imap' '--enable-ipv6' '--disable-ldap' '--disable-ldaps' '--without-libssh' '--without-libssh2' '--disable-mqtt' '--disable-ntlm' '--with-openssl=3D/usr' '--disable-pop3' '--enable-proxy' '--without-libpsl' '--without-librtmp' '--disable-rtsp' '--disable-smb' '--enable-smtp' '--enable-static' '--disable-telnet' '--disable-tftp' '--enable-pthreads' '--enable-threaded-resolver' '--disable-tls-srp' '--disable-websockets' '--without-wolfssl' '--without-zstd' '--with-ca-fallback' '--prefix=3D/usr/local' '--localstatedir=3D/var' '--mandir=3D/usr/local/man' '--disable-silent-rules' '--infodir=3D/usr/local/share/info/' '--build=3Damd64-portbld-freebsd12.4' 'build_alias=3Damd64-portbld-freebsd12.4' 'CC=3Dcc' 'CPPFLAGS=3D-I/usr/loca= l/include -I/usr/include -isystem /usr/local/include' 'CPP=3Dcpp'" mandir =3D /usr/local/man root@deblndw011x:/var/poudriere/ports/default-head (main-custom *) # git diff diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 703a8541e383..1731a6f8446e 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2671,7 +2671,7 @@ SCRIPTS_ENV+=3D BATCH=3Dyes . if ${PREFIX} =3D=3D /usr MANPREFIX?=3D /usr/share . else -MANPREFIX?=3D ${PREFIX} +MANPREFIX?=3D ${PREFIX}/share MANDIRS+=3D ${PREFIX}/share/man . endif root@deblndw011x:/var/poudriere/ports/default-head/ftp/curl (main-custom *) # grep mandir work/curl-8.1.1/Makefile CONFIGURE_OPTIONS =3D " '--disable-werror' '--enable-dateparse' '--enable-dnsshuffle' '--enable-headers-api' '--enable-hsts' '--enable-http-auth' '--enable-mime' '--enable-netrc' '--enable-openssl-auto-load-config' '--enable-progress-meter' '--with-fish-functions-dir=3D/usr/local/share/fish/completions' '--with-zsh-functions-dir=3D/usr/local/share/zsh/site-functions' '--disable-alt-svc' '--without-brotli' '--disable-ares' '--without-ca-bundl= e' '--enable-cookies' '--disable-curldebug' '--disable-debug' '--disable-dict' '--disable-ftp' '--without-gnutls' '--disable-gopher' '--with-gssapi=3D/usr/local' 'CFLAGS=3D-I/usr/local/include -O2 -pipe=20 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ' 'LDFLAGS=3D-L/usr/local/lib -L/usr/local/lib -L/usr/lib -Wl,-rpath,/usr/local/lib:/usr/lib -L/usr/lib -fstack-protector-strong ' 'LIBS=3D-lkrb5 -lgssapi_krb5 -lkrb5 -lgssapi_krb5 -L/usr/local/lib' 'KRB5CONFIG=3D/usr/local/bin/krb5-config' '--enable-http' '--with-nghttp2' '--without-libidn2' '--disable-imap' '--enable-ipv6' '--disable-ldap' '--disable-ldaps' '--without-libssh' '--without-libssh2' '--disable-mqtt' '--disable-ntlm' '--with-openssl=3D/usr' '--disable-pop3' '--enable-proxy' '--without-libpsl' '--without-librtmp' '--disable-rtsp' '--disable-smb' '--enable-smtp' '--enable-static' '--disable-telnet' '--disable-tftp' '--enable-pthreads' '--enable-threaded-resolver' '--disable-tls-srp' '--disable-websockets' '--without-wolfssl' '--without-zstd' '--with-ca-fallback' '--prefix=3D/usr/local' '--localstatedir=3D/var' '--mandir=3D/usr/local/share/man' '--disable-silent-rules' '--infodir=3D/usr/local/share/info/' '--build=3Damd64-portbld-freebsd12.4' 'build_alias=3Damd64-portbld-freebsd12.4' 'CC=3Dcc' 'CPPFLAGS=3D-I/usr/loca= l/include -I/usr/include -isystem /usr/local/include' 'CPP=3Dcpp'" mandir =3D /usr/local/share/man It would ultimately mean that this issue is somewhat invalid, but still sho= uld be incorrectly consistent with other ports. After looking into kde.mk and lxqt.mk the following works: root@deblndw011x:/var/poudriere/ports/default-head/graphics/png (main-custo= m *) # git diff . diff --git a/graphics/png/Makefile b/graphics/png/Makefile index 68b60d9274c5..42c5720215e6 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -19,6 +19,8 @@ USES=3D cmake:testing cpe pathfix tar:xz CPE_PRODUCT=3D libpng USE_LDCONFIG=3D yes +CMAKE_ARGS+=3D -DCMAKE_INSTALL_MANDIR:PATH=3D${PREFIX}/man + CMAKE_OFF=3D PNG_TESTS CMAKE_TESTING_ON=3D PNG_TESTS root@deblndw011x:/var/poudriere/ports/default-head/graphics/png (main-custo= m *) # grep -r MANDIR --color work/.build/ work/.build/CMakeCache.txt:CMAKE_INSTALL_MANDIR:PATH=3D/usr/local/man work/.build/CMakeCache.txt://ADVANCED property for variable: CMAKE_INSTALL_MANDIR work/.build/CMakeCache.txt:CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=3D1 It pretty much looks like Uses/cmake.mk does not set this in CMAKE_ARGS lik= e it is done for CONFIGURE_ARGS. Would it make sense to report another issue for it and provide a patch? (exp-run is imperative) --=20 You are receiving this mail because: You are the assignee for the bug.=