Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/ncurses-6.1.local.patch

b0951f
diff -ru a/configure b/configure
b0951f
--- a/configure	2018-01-20 00:27:18.000000000 +0000
b0951f
+++ b/configure	2019-08-19 09:46:30.361489923 +0000
b0951f
@@ -6317,7 +6317,7 @@
b0951f
 		fi
b0951f
 		cf_cv_rm_so_locs=yes
b0951f
 		;;
b0951f
-	(linux*|gnu*|k*bsd*-gnu)
b0951f
+	(linux*|gnu*|k*bsd*-gnu|midipix*)
b0951f
 		if test "$DFT_LWR_MODEL" = "shared" ; then
b0951f
 			LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
b0951f
 			LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
b0951f
diff -ru a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
b0951f
--- a/misc/gen-pkgconfig.in	2018-01-01 22:51:23.000000000 +0000
b0951f
+++ b/misc/gen-pkgconfig.in	2019-08-19 10:00:35.426023772 +0000
b0951f
@@ -64,17 +64,7 @@
b0951f
 MENU_LIBRARY="${MENU_NAME}@USE_ARG_SUFFIX@"
b0951f
 FORM_LIBRARY="${FORM_NAME}@USE_ARG_SUFFIX@"
b0951f
 
b0951f
-CFLAGS="@PKG_CFLAGS@"
b0951f
-if test "$includedir" != "/usr/include" ; then
b0951f
-	includetop=`echo "$includedir" | sed -e 's,/include/[^/]*$,/include,'`
b0951f
-	test "$includetop" = "/usr/include" && includetop="$includedir"
b0951f
-	if test "x$includetop" != "x$includedir"
b0951f
-	then
b0951f
-		CFLAGS="$CFLAGS -I${includetop}"
b0951f
-	fi
b0951f
-	CFLAGS="$CFLAGS -I\${includedir}"
b0951f
-fi
b0951f
-
b0951f
+CFLAGS=
b0951f
 LDFLAGS=
b0951f
 if test "$libdir" != "/usr/lib" ; then
b0951f
 	LDFLAGS="$LDFLAGS -L\${libdir}"