From d54dcb5d065df21bf8f4df35b1ea98a7d1730a0e Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 20 Jan 2008 11:30:40 +0000
Subject: [PATCH] fix compile

---
 contrib/Netgen/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/contrib/Netgen/Makefile b/contrib/Netgen/Makefile
index ff5cc4fe32..12bec64c34 100644
--- a/contrib/Netgen/Makefile
+++ b/contrib/Netgen/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.24 2008-01-19 00:59:31 geuzaine Exp $
+# $Id: Makefile,v 1.25 2008-01-20 11:30:40 geuzaine Exp $
 #
 # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 #
@@ -140,6 +140,10 @@ ${LIB}: ${OBJ}
            mv -f ${notdir ${<:.cpp=${OBJEXT}}} ${<:.cpp=${OBJEXT}};\
         fi
 
+# don't apply ugly hack above for files in this directory
+nllib_addon${OBJEXT}:
+	${CXX} ${CFLAGS} ${DASH}c $<
+
 clean:
 	rm -f *${OBJEXT} libsrc/*/*${OBJEXT}
 
-- 
GitLab