[BACK]Return to patch-src_SFML_Makefile CVS log [TXT][DIR] Up to [local] / ports / devel / sfml / patches

File: [local] / ports / devel / sfml / patches / Attic / patch-src_SFML_Makefile (download)

Revision 1.1.1.1 (vendor branch), Thu Oct 27 16:00:46 2011 UTC (12 years, 8 months ago) by yason
Branch: yason
CVS Tags: import
Changes since 1.1: +0 -0 lines

import

$OpenBSD$
--- src/SFML/Makefile.orig	Wed Jan 27 17:00:37 2010
+++ src/SFML/Makefile	Thu Oct 27 11:26:44 2011
@@ -17,9 +17,9 @@ endif
 
 export CC         = gcc
 export CPP        = g++
-export CFLAGS     = -W -Wall -pedantic -I../../../include -I../../ $(DEBUGFLAGS) $(BUILDFLAGS)
-export CFLAGSEXT  = -I../../../include -I../.. $(DEBUGFLAGS) $(BUILDFLAGS)
-export LDFLAGS    = $(LINKFLAGS)
+export CFLAGS     += -I../../../include -I../.. $(DEBUGFLAGS) $(BUILDFLAGS) -I${LOCALBASE}/include -I${X11BASE}/include -I${X11BASE}/include/freetype2
+export CXXFLAGS  += -W -Wall -pedantic -I../../../include -I../../ $(DEBUGFLAGS) $(BUILDFLAGS) -I${LOCALBASE}/include -I${X11BASE}/include -I${X11BASE}/include/freetype2
+export LDFLAGS    = -L${LOCALBASE}/lib -L${X11BASE}/lib $(LINKFLAGS)
 export LIBPATH    = ../../../lib
 export VERSION    = 1.6
 export CP         = cp