mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
partly adopt changes from PR
- use CXX and CXXFLAGS if set additionally - use X11BASE still unsure if I should remove the dependancy from MESA... have to think over it when having time I think there was a problem, when building KDE with Mesa support and using a qt lib without ... Does somebody else have time to check ? PR: closes 8904 Submitted partly by: Alex Zepeda <garbanzo@hooked.net>
This commit is contained in:
parent
22763d099f
commit
4b5759cc15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16894
@ -3,7 +3,7 @@
|
||||
# Date created: 30 Jul 1996
|
||||
# Whom: searle@longacre.demon.co.uk
|
||||
#
|
||||
# $Id: Makefile,v 1.29 1998/11/23 17:41:10 andreas Exp $
|
||||
# $Id: Makefile,v 1.30 1999/01/07 10:58:31 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= qt-1.42
|
||||
@ -16,7 +16,7 @@ LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
MAKE_ENV= QTDIR=${WRKSRC}
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,9 +1,48 @@
|
||||
--- ./configs/freebsd-g++-shared.org Tue Nov 17 06:19:01 1998
|
||||
+++ ./configs/freebsd-g++-shared Wed Jan 6 23:49:34 1999
|
||||
@@ -40,15 +44,26 @@
|
||||
--- configs/freebsd-g++-shared.orig Tue Nov 17 15:19:01 1998
|
||||
+++ configs/freebsd-g++-shared Thu Feb 25 09:03:29 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CC = g++
|
||||
+SYSCONF_CC = $(CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CFLAGS_X11 = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_X11 = -I$(X11BASE)/include
|
||||
SYSCONF_CFLAGS_QT = -I$(QTDIR)/include
|
||||
-SYSCONF_CFLAGS_OPENGL = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_OPENGL = -I$(X11BASE)/include
|
||||
|
||||
# Compiline YACC output
|
||||
SYSCONF_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
# Linking with support libraries
|
||||
# X11
|
||||
-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_X11 = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_X11 = -lX11 -lXext
|
||||
# Qt, Qt+OpenGL
|
||||
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
||||
SYSCONF_LIBS_QT = -lqt
|
||||
SYSCONF_LIBS_QT_OPENGL = -lqgl
|
||||
# OpenGL
|
||||
-SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_OPENGL = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
|
||||
# Yacc
|
||||
SYSCONF_LIBS_YACC =
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@@ -39,16 +39,27 @@
|
||||
# - Place target in $(DESTDIR) - which has a trailing /
|
||||
# - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
|
||||
#
|
||||
SYSCONF_LINK_SHLIB = g++
|
||||
-SYSCONF_LINK_SHLIB = g++
|
||||
+SYSCONF_LINK_SHLIB = $(CXX)
|
||||
+ifeq ($(PORTOBJFORMAT),elf)
|
||||
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
|
||||
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
|
||||
@ -30,15 +69,18 @@
|
||||
|
||||
# Linking static libraries
|
||||
# - Build the $(TARGET) library, eg. lib$(TARGET).a
|
||||
@@ -61,9 +76,9 @@
|
||||
@@ -59,11 +70,11 @@
|
||||
SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
|
||||
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
|
||||
# Compiling application source
|
||||
SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
-SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
+SYSCONF_CFLAGS = $(CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Default link type (stati linking is still be used where required)
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: 30 Jul 1996
|
||||
# Whom: searle@longacre.demon.co.uk
|
||||
#
|
||||
# $Id: Makefile,v 1.29 1998/11/23 17:41:10 andreas Exp $
|
||||
# $Id: Makefile,v 1.30 1999/01/07 10:58:31 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= qt-1.42
|
||||
@ -16,7 +16,7 @@ LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
MAKE_ENV= QTDIR=${WRKSRC}
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,9 +1,48 @@
|
||||
--- ./configs/freebsd-g++-shared.org Tue Nov 17 06:19:01 1998
|
||||
+++ ./configs/freebsd-g++-shared Wed Jan 6 23:49:34 1999
|
||||
@@ -40,15 +44,26 @@
|
||||
--- configs/freebsd-g++-shared.orig Tue Nov 17 15:19:01 1998
|
||||
+++ configs/freebsd-g++-shared Thu Feb 25 09:03:29 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CC = g++
|
||||
+SYSCONF_CC = $(CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CFLAGS_X11 = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_X11 = -I$(X11BASE)/include
|
||||
SYSCONF_CFLAGS_QT = -I$(QTDIR)/include
|
||||
-SYSCONF_CFLAGS_OPENGL = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_OPENGL = -I$(X11BASE)/include
|
||||
|
||||
# Compiline YACC output
|
||||
SYSCONF_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
# Linking with support libraries
|
||||
# X11
|
||||
-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_X11 = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_X11 = -lX11 -lXext
|
||||
# Qt, Qt+OpenGL
|
||||
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
||||
SYSCONF_LIBS_QT = -lqt
|
||||
SYSCONF_LIBS_QT_OPENGL = -lqgl
|
||||
# OpenGL
|
||||
-SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_OPENGL = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
|
||||
# Yacc
|
||||
SYSCONF_LIBS_YACC =
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@@ -39,16 +39,27 @@
|
||||
# - Place target in $(DESTDIR) - which has a trailing /
|
||||
# - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
|
||||
#
|
||||
SYSCONF_LINK_SHLIB = g++
|
||||
-SYSCONF_LINK_SHLIB = g++
|
||||
+SYSCONF_LINK_SHLIB = $(CXX)
|
||||
+ifeq ($(PORTOBJFORMAT),elf)
|
||||
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
|
||||
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
|
||||
@ -30,15 +69,18 @@
|
||||
|
||||
# Linking static libraries
|
||||
# - Build the $(TARGET) library, eg. lib$(TARGET).a
|
||||
@@ -61,9 +76,9 @@
|
||||
@@ -59,11 +70,11 @@
|
||||
SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
|
||||
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
|
||||
# Compiling application source
|
||||
SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
-SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
+SYSCONF_CFLAGS = $(CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Default link type (stati linking is still be used where required)
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: 30 Jul 1996
|
||||
# Whom: searle@longacre.demon.co.uk
|
||||
#
|
||||
# $Id: Makefile,v 1.29 1998/11/23 17:41:10 andreas Exp $
|
||||
# $Id: Makefile,v 1.30 1999/01/07 10:58:31 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= qt-1.42
|
||||
@ -16,7 +16,7 @@ LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
MAKE_ENV= QTDIR=${WRKSRC}
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,9 +1,48 @@
|
||||
--- ./configs/freebsd-g++-shared.org Tue Nov 17 06:19:01 1998
|
||||
+++ ./configs/freebsd-g++-shared Wed Jan 6 23:49:34 1999
|
||||
@@ -40,15 +44,26 @@
|
||||
--- configs/freebsd-g++-shared.orig Tue Nov 17 15:19:01 1998
|
||||
+++ configs/freebsd-g++-shared Thu Feb 25 09:03:29 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CC = g++
|
||||
+SYSCONF_CC = $(CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CFLAGS_X11 = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_X11 = -I$(X11BASE)/include
|
||||
SYSCONF_CFLAGS_QT = -I$(QTDIR)/include
|
||||
-SYSCONF_CFLAGS_OPENGL = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_OPENGL = -I$(X11BASE)/include
|
||||
|
||||
# Compiline YACC output
|
||||
SYSCONF_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
# Linking with support libraries
|
||||
# X11
|
||||
-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_X11 = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_X11 = -lX11 -lXext
|
||||
# Qt, Qt+OpenGL
|
||||
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
||||
SYSCONF_LIBS_QT = -lqt
|
||||
SYSCONF_LIBS_QT_OPENGL = -lqgl
|
||||
# OpenGL
|
||||
-SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_OPENGL = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
|
||||
# Yacc
|
||||
SYSCONF_LIBS_YACC =
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@@ -39,16 +39,27 @@
|
||||
# - Place target in $(DESTDIR) - which has a trailing /
|
||||
# - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
|
||||
#
|
||||
SYSCONF_LINK_SHLIB = g++
|
||||
-SYSCONF_LINK_SHLIB = g++
|
||||
+SYSCONF_LINK_SHLIB = $(CXX)
|
||||
+ifeq ($(PORTOBJFORMAT),elf)
|
||||
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
|
||||
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
|
||||
@ -30,15 +69,18 @@
|
||||
|
||||
# Linking static libraries
|
||||
# - Build the $(TARGET) library, eg. lib$(TARGET).a
|
||||
@@ -61,9 +76,9 @@
|
||||
@@ -59,11 +70,11 @@
|
||||
SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
|
||||
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
|
||||
# Compiling application source
|
||||
SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
-SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
+SYSCONF_CFLAGS = $(CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Default link type (stati linking is still be used where required)
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: 30 Jul 1996
|
||||
# Whom: searle@longacre.demon.co.uk
|
||||
#
|
||||
# $Id: Makefile,v 1.29 1998/11/23 17:41:10 andreas Exp $
|
||||
# $Id: Makefile,v 1.30 1999/01/07 10:58:31 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= qt-1.42
|
||||
@ -16,7 +16,7 @@ LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
MAKE_ENV= QTDIR=${WRKSRC}
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,9 +1,48 @@
|
||||
--- ./configs/freebsd-g++-shared.org Tue Nov 17 06:19:01 1998
|
||||
+++ ./configs/freebsd-g++-shared Wed Jan 6 23:49:34 1999
|
||||
@@ -40,15 +44,26 @@
|
||||
--- configs/freebsd-g++-shared.orig Tue Nov 17 15:19:01 1998
|
||||
+++ configs/freebsd-g++-shared Thu Feb 25 09:03:29 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CC = g++
|
||||
+SYSCONF_CC = $(CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CFLAGS_X11 = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_X11 = -I$(X11BASE)/include
|
||||
SYSCONF_CFLAGS_QT = -I$(QTDIR)/include
|
||||
-SYSCONF_CFLAGS_OPENGL = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_OPENGL = -I$(X11BASE)/include
|
||||
|
||||
# Compiline YACC output
|
||||
SYSCONF_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
# Linking with support libraries
|
||||
# X11
|
||||
-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_X11 = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_X11 = -lX11 -lXext
|
||||
# Qt, Qt+OpenGL
|
||||
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
||||
SYSCONF_LIBS_QT = -lqt
|
||||
SYSCONF_LIBS_QT_OPENGL = -lqgl
|
||||
# OpenGL
|
||||
-SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_OPENGL = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
|
||||
# Yacc
|
||||
SYSCONF_LIBS_YACC =
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@@ -39,16 +39,27 @@
|
||||
# - Place target in $(DESTDIR) - which has a trailing /
|
||||
# - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
|
||||
#
|
||||
SYSCONF_LINK_SHLIB = g++
|
||||
-SYSCONF_LINK_SHLIB = g++
|
||||
+SYSCONF_LINK_SHLIB = $(CXX)
|
||||
+ifeq ($(PORTOBJFORMAT),elf)
|
||||
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
|
||||
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
|
||||
@ -30,15 +69,18 @@
|
||||
|
||||
# Linking static libraries
|
||||
# - Build the $(TARGET) library, eg. lib$(TARGET).a
|
||||
@@ -61,9 +76,9 @@
|
||||
@@ -59,11 +70,11 @@
|
||||
SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
|
||||
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
|
||||
# Compiling application source
|
||||
SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
-SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
+SYSCONF_CFLAGS = $(CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Default link type (stati linking is still be used where required)
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: 30 Jul 1996
|
||||
# Whom: searle@longacre.demon.co.uk
|
||||
#
|
||||
# $Id: Makefile,v 1.29 1998/11/23 17:41:10 andreas Exp $
|
||||
# $Id: Makefile,v 1.30 1999/01/07 10:58:31 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= qt-1.42
|
||||
@ -16,7 +16,7 @@ LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
MAKE_ENV= QTDIR=${WRKSRC}
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,9 +1,48 @@
|
||||
--- ./configs/freebsd-g++-shared.org Tue Nov 17 06:19:01 1998
|
||||
+++ ./configs/freebsd-g++-shared Wed Jan 6 23:49:34 1999
|
||||
@@ -40,15 +44,26 @@
|
||||
--- configs/freebsd-g++-shared.orig Tue Nov 17 15:19:01 1998
|
||||
+++ configs/freebsd-g++-shared Thu Feb 25 09:03:29 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CC = g++
|
||||
+SYSCONF_CC = $(CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CFLAGS_X11 = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_X11 = -I$(X11BASE)/include
|
||||
SYSCONF_CFLAGS_QT = -I$(QTDIR)/include
|
||||
-SYSCONF_CFLAGS_OPENGL = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_OPENGL = -I$(X11BASE)/include
|
||||
|
||||
# Compiline YACC output
|
||||
SYSCONF_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
# Linking with support libraries
|
||||
# X11
|
||||
-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_X11 = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_X11 = -lX11 -lXext
|
||||
# Qt, Qt+OpenGL
|
||||
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
||||
SYSCONF_LIBS_QT = -lqt
|
||||
SYSCONF_LIBS_QT_OPENGL = -lqgl
|
||||
# OpenGL
|
||||
-SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_OPENGL = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
|
||||
# Yacc
|
||||
SYSCONF_LIBS_YACC =
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@@ -39,16 +39,27 @@
|
||||
# - Place target in $(DESTDIR) - which has a trailing /
|
||||
# - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
|
||||
#
|
||||
SYSCONF_LINK_SHLIB = g++
|
||||
-SYSCONF_LINK_SHLIB = g++
|
||||
+SYSCONF_LINK_SHLIB = $(CXX)
|
||||
+ifeq ($(PORTOBJFORMAT),elf)
|
||||
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
|
||||
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
|
||||
@ -30,15 +69,18 @@
|
||||
|
||||
# Linking static libraries
|
||||
# - Build the $(TARGET) library, eg. lib$(TARGET).a
|
||||
@@ -61,9 +76,9 @@
|
||||
@@ -59,11 +70,11 @@
|
||||
SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
|
||||
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
|
||||
# Compiling application source
|
||||
SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
-SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
+SYSCONF_CFLAGS = $(CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Default link type (stati linking is still be used where required)
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: 30 Jul 1996
|
||||
# Whom: searle@longacre.demon.co.uk
|
||||
#
|
||||
# $Id: Makefile,v 1.29 1998/11/23 17:41:10 andreas Exp $
|
||||
# $Id: Makefile,v 1.30 1999/01/07 10:58:31 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= qt-1.42
|
||||
@ -16,7 +16,7 @@ LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
MAKE_ENV= QTDIR=${WRKSRC}
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,9 +1,48 @@
|
||||
--- ./configs/freebsd-g++-shared.org Tue Nov 17 06:19:01 1998
|
||||
+++ ./configs/freebsd-g++-shared Wed Jan 6 23:49:34 1999
|
||||
@@ -40,15 +44,26 @@
|
||||
--- configs/freebsd-g++-shared.orig Tue Nov 17 15:19:01 1998
|
||||
+++ configs/freebsd-g++-shared Thu Feb 25 09:03:29 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CC = g++
|
||||
+SYSCONF_CC = $(CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CFLAGS_X11 = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_X11 = -I$(X11BASE)/include
|
||||
SYSCONF_CFLAGS_QT = -I$(QTDIR)/include
|
||||
-SYSCONF_CFLAGS_OPENGL = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_OPENGL = -I$(X11BASE)/include
|
||||
|
||||
# Compiline YACC output
|
||||
SYSCONF_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
# Linking with support libraries
|
||||
# X11
|
||||
-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_X11 = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_X11 = -lX11 -lXext
|
||||
# Qt, Qt+OpenGL
|
||||
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
||||
SYSCONF_LIBS_QT = -lqt
|
||||
SYSCONF_LIBS_QT_OPENGL = -lqgl
|
||||
# OpenGL
|
||||
-SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_OPENGL = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
|
||||
# Yacc
|
||||
SYSCONF_LIBS_YACC =
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@@ -39,16 +39,27 @@
|
||||
# - Place target in $(DESTDIR) - which has a trailing /
|
||||
# - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
|
||||
#
|
||||
SYSCONF_LINK_SHLIB = g++
|
||||
-SYSCONF_LINK_SHLIB = g++
|
||||
+SYSCONF_LINK_SHLIB = $(CXX)
|
||||
+ifeq ($(PORTOBJFORMAT),elf)
|
||||
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
|
||||
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
|
||||
@ -30,15 +69,18 @@
|
||||
|
||||
# Linking static libraries
|
||||
# - Build the $(TARGET) library, eg. lib$(TARGET).a
|
||||
@@ -61,9 +76,9 @@
|
||||
@@ -59,11 +70,11 @@
|
||||
SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
|
||||
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
|
||||
# Compiling application source
|
||||
SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
-SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
+SYSCONF_CFLAGS = $(CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Default link type (stati linking is still be used where required)
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: 30 Jul 1996
|
||||
# Whom: searle@longacre.demon.co.uk
|
||||
#
|
||||
# $Id: Makefile,v 1.29 1998/11/23 17:41:10 andreas Exp $
|
||||
# $Id: Makefile,v 1.30 1999/01/07 10:58:31 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= qt-1.42
|
||||
@ -16,7 +16,7 @@ LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
MAKE_ENV= QTDIR=${WRKSRC}
|
||||
MAKE_ENV+= QTDIR=${WRKSRC} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,9 +1,48 @@
|
||||
--- ./configs/freebsd-g++-shared.org Tue Nov 17 06:19:01 1998
|
||||
+++ ./configs/freebsd-g++-shared Wed Jan 6 23:49:34 1999
|
||||
@@ -40,15 +44,26 @@
|
||||
--- configs/freebsd-g++-shared.orig Tue Nov 17 15:19:01 1998
|
||||
+++ configs/freebsd-g++-shared Thu Feb 25 09:03:29 1999
|
||||
@@ -1,30 +1,30 @@
|
||||
# Compiling
|
||||
-SYSCONF_CC = g++
|
||||
+SYSCONF_CC = $(CXX)
|
||||
|
||||
# Compiling with support libraries
|
||||
-SYSCONF_CFLAGS_X11 = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_X11 = -I$(X11BASE)/include
|
||||
SYSCONF_CFLAGS_QT = -I$(QTDIR)/include
|
||||
-SYSCONF_CFLAGS_OPENGL = -I/usr/X11R6/include
|
||||
+SYSCONF_CFLAGS_OPENGL = -I$(X11BASE)/include
|
||||
|
||||
# Compiline YACC output
|
||||
SYSCONF_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
# Linking with support libraries
|
||||
# X11
|
||||
-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_X11 = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_X11 = -lX11 -lXext
|
||||
# Qt, Qt+OpenGL
|
||||
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
|
||||
SYSCONF_LIBS_QT = -lqt
|
||||
SYSCONF_LIBS_QT_OPENGL = -lqgl
|
||||
# OpenGL
|
||||
-SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
|
||||
+SYSCONF_LFLAGS_OPENGL = -L$(X11BASE)/lib
|
||||
SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
|
||||
# Yacc
|
||||
SYSCONF_LIBS_YACC =
|
||||
|
||||
# Linking applications
|
||||
-SYSCONF_LINK = g++
|
||||
+SYSCONF_LINK = $(CXX)
|
||||
SYSCONF_LFLAGS =
|
||||
SYSCONF_LIBS =
|
||||
|
||||
@@ -39,16 +39,27 @@
|
||||
# - Place target in $(DESTDIR) - which has a trailing /
|
||||
# - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
|
||||
#
|
||||
SYSCONF_LINK_SHLIB = g++
|
||||
-SYSCONF_LINK_SHLIB = g++
|
||||
+SYSCONF_LINK_SHLIB = $(CXX)
|
||||
+ifeq ($(PORTOBJFORMAT),elf)
|
||||
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ)
|
||||
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \
|
||||
@ -30,15 +69,18 @@
|
||||
|
||||
# Linking static libraries
|
||||
# - Build the $(TARGET) library, eg. lib$(TARGET).a
|
||||
@@ -61,9 +76,9 @@
|
||||
@@ -59,11 +70,11 @@
|
||||
SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
|
||||
$(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
|
||||
# Compiling application source
|
||||
SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
-SYSCONF_CFLAGS = -pipe -O2 -fno-strength-reduce
|
||||
+SYSCONF_CFLAGS = $(CXXFLAGS) -fno-strength-reduce
|
||||
# Compiling library source
|
||||
-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_LIB = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Compiling shared-object source
|
||||
-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = -pipe -O2 -fno-strength-reduce -fPIC
|
||||
+SYSCONF_CFLAGS_SHOBJ = $(CXXFLAGS) -fno-strength-reduce -fPIC
|
||||
# Default link type (stati linking is still be used where required)
|
||||
SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
|
||||
SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
|
||||
|
Loading…
Reference in New Issue
Block a user