[csw-devel] SF.net SVN: gar:[11816] csw/mgar/pkg/perl/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Dec 6 18:04:16 CET 2010


Revision: 11816
          http://gar.svn.sourceforge.net/gar/?rev=11816&view=rev
Author:   dmichelsen
Date:     2010-12-06 17:04:16 +0000 (Mon, 06 Dec 2010)

Log Message:
-----------
perl: Forward-port fix of #4544

Modified Paths:
--------------
    csw/mgar/pkg/perl/trunk/Makefile

Modified: csw/mgar/pkg/perl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/perl/trunk/Makefile	2010-12-06 16:00:16 UTC (rev 11815)
+++ csw/mgar/pkg/perl/trunk/Makefile	2010-12-06 17:04:16 UTC (rev 11816)
@@ -114,7 +114,13 @@
 EXTRA_LIB += $(prefix)/bdb48/lib
 EXTRA_INC += $(prefix)/bdb48/include
 
-#EXTRA_LDFLAGS = -lperl
+# Somehow the CPPFLAGS do not make it into the compile environment.
+# Add them explicitly here, otherwise specifically the bdb48/include will
+# not make it resulting in db.h not to be found and DB_File.pm not to be built
+# as reported here:
+#   https://www.opencsw.org/mantis/view.php?id=4544
+EXTRA_CFLAGS = $(CPPFLAGS)
+
 EXTRA_LDFLAGS = -L$(libdir) -lperl
 
 EXTRA_MERGE_EXCLUDE_FILES = .*\/perllocal.pod


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list