ports/cad/fritzing/files/patch-phoenix.pro
Muhammad Moinur Rahman 90e296f439
cad/fritzing: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-22 14:23:52 +01:00

40 lines
1.4 KiB
INI

--- phoenix.pro.orig 2024-02-22 13:06:37 UTC
+++ phoenix.pro
@@ -31,7 +31,7 @@
# QTPLUGIN += qjpeg qsqlite
-CONFIG += debug_and_release
+CONFIG += release
win32 {
# release build using msvc 2010 needs to use Multi-threaded (/MT) for the code generation/runtime library option
# release build using msvc 2010 needs to add msvcrt.lib;%(IgnoreSpecificDefaultLibraries) to the linker/no default libraries option
@@ -92,7 +92,7 @@ unix {
unix {
!macx { # unix is defined on mac
HARDWARE_PLATFORM = $$system(uname -m)
- contains( HARDWARE_PLATFORM, x86_64 ) {
+ contains( HARDWARE_PLATFORM, amd64 ) {
DEFINES += LINUX_64
} else {
DEFINES += LINUX_32
@@ -101,7 +101,7 @@ unix {
}
isEmpty(PREFIX) {
- PREFIX = /usr
+ PREFIX = /usr/local
}
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
@@ -117,8 +117,8 @@ unix {
manpage.path = $$DATADIR/man/man1
manpage.files += Fritzing.1
- icon.path = $$DATADIR/icons
- icon.extra = install -D -m 0644 $$PWD/resources/images/fritzing_icon.png $(INSTALL_ROOT)$$DATADIR/icons/fritzing.png
+ icon.path = $$DATADIR/icons/hicolor/64x64/apps
+ icon.extra = install -m 0644 $$PWD/resources/images/fritzing_icon.png $(INSTALL_ROOT)$$DATADIR/icons/hicolor/64x64/apps/fritzing.png
parts.path = $$PKGDATADIR
parts.files += parts