mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
97ec9e3e03
1.In Designer, don't rely on QTDIR environment being set when searching for documentation and templates. Also correct search paths relatively to QTDIR (/doc/html/... --> /share/doc/qt2/... etc.). 2.Install *all* documentation (previously index files and some pixmaps were left behind, which was rendering help system mostly non-functional and useless). 3.Install Designer's templates. 4.Don't use ${INSTALL_DATA} to install symbolic link to shared library - it leads to the file this link points to being installed and as a result two fully indentical versions of lib{qt2,util} are installed, wasting user's HDD space (approx 8MB) and bloating package file (+3MB). Also use ${INSTALL_PROGRAM} for shared libs to strip unneeded symbols.
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
--- configs/freebsd-g++-static.orig Wed Oct 4 12:55:09 2000
|
|
+++ configs/freebsd-g++-static Sat Nov 18 20:02:46 2000
|
|
@@ -22,7 +22,7 @@
|
|
SYSCONF_LIBS_X11 = -lXext -lX11 -lm
|
|
# Qt, Qt+OpenGL
|
|
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
|
-SYSCONF_LIBS_QT = -lqt$(QT_THREAD_SUFFIX)
|
|
+SYSCONF_LIBS_QT = -lqt2$(QT_THREAD_SUFFIX)
|
|
SYSCONF_LIBS_QT_OPENGL =
|
|
# OpenGL
|
|
SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
|
@@ -45,7 +45,7 @@
|
|
SYSCONF_LIBS_THREAD =
|
|
|
|
# Meta-object compiler
|
|
-SYSCONF_MOC = $(QTDIR)/bin/moc
|
|
+SYSCONF_MOC = $(QTDIR)/bin/moc2
|
|
|
|
# UI compiler
|
|
SYSCONF_UIC = $(QTDIR)/bin/uic
|
|
@@ -76,8 +76,8 @@
|
|
SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
|
|
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
|
|
# Compiling application source
|
|
-SYSCONF_CXXFLAGS = -pipe -O2
|
|
-SYSCONF_CFLAGS = -pipe -O2
|
|
+SYSCONF_CXXFLAGS = -DQT_PREFIX=\"${PREFIX}\" -pipe -O2
|
|
+SYSCONF_CFLAGS = -DQT_PREFIX=\"${PREFIX}\" -pipe -O2
|
|
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_STATIC)
|
|
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_STATIC)
|
|
# Compiling library source
|