[packages] Use default templates instead of custom reimplementations where applicable
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19705 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -19,11 +19,11 @@ PKG_FIXUP:=libtool
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
|
||||
|
||||
EXTRA_CFLAGS+= \
|
||||
TARGET_CFLAGS+= \
|
||||
-I$(STAGING_DIR)/usr/lib/libintl/include/ \
|
||||
-I$(STAGING_DIR)/usr/lib/libiconv/include/
|
||||
|
||||
EXTRA_LDFLAGS+= \
|
||||
TARGET_LDFLAGS+= \
|
||||
-L$(STAGING_DIR)/usr/lib/libintl/lib \
|
||||
-L$(STAGING_DIR)/usr/lib/libiconv/lib
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
diff -urN pygtk-2.12.1.orig/configure pygtk-2.12.1/configure
|
||||
--- pygtk-2.12.1.orig/configure 2008-09-30 17:05:56.000000000 +0200
|
||||
+++ pygtk-2.12.1/configure 2008-09-30 17:06:38.000000000 +0200
|
||||
@@ -10399,8 +10399,6 @@
|
||||
|
||||
{ echo "$as_me:$LINENO: checking for PySignal_SetWakeupFd in Python.h" >&5
|
||||
echo $ECHO_N "checking for PySignal_SetWakeupFd in Python.h... $ECHO_C" >&6; }
|
||||
-py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
|
||||
-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
|
||||
old_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
diff -urN pygtk-2.12.1.orig/configure.in pygtk-2.12.1/configure.in
|
||||
--- pygtk-2.12.1.orig/configure.in 2008-09-30 17:05:56.000000000 +0200
|
||||
+++ pygtk-2.12.1/configure.in 2008-09-30 17:06:24.000000000 +0200
|
||||
@@ -78,8 +78,6 @@
|
||||
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
||||
|
||||
AC_MSG_CHECKING([for PySignal_SetWakeupFd in Python.h])
|
||||
-py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
|
||||
-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
|
||||
old_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
|
||||
AC_TRY_COMPILE([#include <Python.h>],
|
Reference in New Issue
Block a user