summaryrefslogtreecommitdiff
blob: 283dec348ab12e0fd968721097c753675d249630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ipager-1.1.0/SConstruct	2005-11-06 06:23:24.000000000 -0500
+++ ipager-1.1.0-gentoo/SConstruct	2008-09-08 15:18:07.000000000 -0400
@@ -115,12 +115,14 @@
     else:
         print "yes"
         ipager_env.AppendUnique(
-            CPPPATH = imlib2_env.Dictionary()['CPPPATH'], 
             CCFLAGS = imlib2_env.Dictionary()['CCFLAGS'], 
             LIBPATH = imlib2_env.Dictionary()['LIBPATH'],
             LIBS    = imlib2_env.Dictionary()['LIBS']
-
         )
+        if imlib2_env.Dictionary().has_key('CPPPATH'): 
+            ipager_env.AppendUnique(
+                CPPPATH = imlib2_env.Dictionary()['CPPPATH'], 
+            )
 
 conf.Finish()