mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
c5093c3118
Changes in software: - vendor's bugfixes - new FLUTE support - new dependencies in gdome-2 and glib20 - properly install the shared library and headers - replace -pthread with $PTHREAD_LIBS - fix compilation warnings due to C++ headers in -current PR: ports/61068 Submitted by: Panagiotis Astithas <past@noc.ntua.gr> (maintainer)
34 lines
661 B
Plaintext
34 lines
661 B
Plaintext
--- Makefile.common.orig Sun Dec 7 18:36:25 2003
|
|
+++ Makefile.common Sun Dec 7 18:38:10 2003
|
|
@@ -24,11 +24,15 @@
|
|
ifeq (${SYSTEM},SunOS)
|
|
OS = solaris
|
|
endif
|
|
+ifeq (${SYSTEM},FreeBSD)
|
|
+ OS = freebsd
|
|
+endif
|
|
#
|
|
# and the old way (e.g. if the above lines do not work!)
|
|
#
|
|
#OS = linux
|
|
#OS = solaris
|
|
+#OS = freebsd
|
|
|
|
|
|
# Do you want/need extended memory debugging?
|
|
@@ -59,6 +63,14 @@
|
|
#
|
|
CC = /opt/SUNWspro/bin/CC
|
|
LD = /opt/SUNWspro/bin/CC
|
|
+endif
|
|
+ifeq (${OS},freebsd)
|
|
+ OSFLAGS = -DFREEBSD -I/usr/include/g++ -I/usr/include/c++/3.3
|
|
+ # Which compiler?
|
|
+ # NB: use -Wall for compilation warnings with gcc
|
|
+ #
|
|
+ CC = g++ -Wall
|
|
+ LD = g++ -Wall
|
|
endif
|
|
|
|
|