diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-12-04 17:19:10 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-12-04 17:19:10 +0000 |
commit | ed1391ac1d0c62404fe33245b26225aed5cab1fb (patch) | |
tree | 1f5d892b4429ccdc62aab31246698eb6cb2ebeb3 /misc/pointless | |
parent | cb9a20886d2deb4cc2921cdc98bae2c48f80ae1e (diff) | |
download | ports-ed1391ac1d0c62404fe33245b26225aed5cab1fb.tar.gz ports-ed1391ac1d0c62404fe33245b26225aed5cab1fb.zip |
Notes
Diffstat (limited to 'misc/pointless')
-rw-r--r-- | misc/pointless/Makefile | 4 | ||||
-rw-r--r-- | misc/pointless/files/patch-python24 | 53 |
2 files changed, 55 insertions, 2 deletions
diff --git a/misc/pointless/Makefile b/misc/pointless/Makefile index 9900d341372e..b75bea2783b2 100644 --- a/misc/pointless/Makefile +++ b/misc/pointless/Makefile @@ -29,8 +29,8 @@ RUN_DEPENDS= ${BUILD_DEPENDS} USE_GL= yes USE_PYTHON= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS+= --prefix=${PREFIX} +USE_AUTOCONF_VER= 259 +CONFIGURE_ARGS+= --prefix=${PREFIX} --program-transform-name="" CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib/${PYTHON_VERSION}/config/ MAN1= pointless.1 diff --git a/misc/pointless/files/patch-python24 b/misc/pointless/files/patch-python24 new file mode 100644 index 000000000000..b07ecd4a603d --- /dev/null +++ b/misc/pointless/files/patch-python24 @@ -0,0 +1,53 @@ +diff -urN pointless-0.5.orig/config.h.in pointless-0.5/config.h.in +--- pointless-0.5.orig/config.h.in Tue Jan 27 21:35:08 2004 ++++ config.h.in Thu Dec 2 17:14:28 2004 +@@ -199,6 +199,9 @@ + /* Define as 1 if you have libpython2.3 */ + #undef HAVE_PYTHON2_3 + ++/* Define as 1 if you have libpython2.4 */ ++#undef HAVE_PYTHON2_4 ++ + /* Define as 1 if you have libsdl */ + #undef HAVE_SDL + +diff -urN pointless-0.5.orig/configure.in pointless-0.5/configure.in +--- pointless-0.5.orig/configure.in Sat Jan 24 15:17:50 2004 ++++ configure.in Thu Dec 2 17:13:59 2004 +@@ -517,6 +517,12 @@ + if test x$PYTHON_VERSION = x2.3; then + AC_DEFINE([HAVE_PYTHON2_3]) + fi ++AH_TEMPLATE([HAVE_PYTHON2_4], ++ [Define as 1 if you have libpython2.4]) ++AM_PATH_PYTHON_DEV ++if test x$PYTHON_VERSION = x2.4; then ++ AC_DEFINE([HAVE_PYTHON2_4]) ++fi + + # ***************************************************************************** + # Checks for typedefs, structures, and compiler characteristics. +diff -urN pointless-0.5.orig/src/nodecontroller.h pointless-0.5/src/nodecontroller.h +--- pointless-0.5.orig/src/nodecontroller.h Tue Dec 16 23:33:21 2003 ++++ src/nodecontroller.h Thu Dec 2 16:50:16 2004 +@@ -34,6 +34,8 @@ + # include <python2.2/Python.h> + #elif HAVE_PYTHON2_3 + # include <python2.3/Python.h> ++#elif HAVE_PYTHON2_4 ++# include <python2.4/Python.h> + #endif + + #include "common.h" +diff -urN pointless-0.5.orig/src/pointless_wrap.cpp pointless-0.5/src/pointless_wrap.cpp +--- pointless-0.5.orig/src/pointless_wrap.cpp Tue Jan 6 22:18:36 2004 ++++ src/pointless_wrap.cpp Thu Dec 2 16:50:44 2004 +@@ -42,6 +42,8 @@ + # endif + #elif HAVE_PYTHON2_3 + # include <python2.3/Python.h> ++#elif HAVE_PYTHON2_4 ++# include <python2.4/Python.h> + #endif + + #ifndef HAVE_SDL |