mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
40 lines
1.4 KiB
INI
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
|