make the no_python flavor work as advertised
ok ckuethe (maintainer)
This commit is contained in:
parent
2114697ef0
commit
68b32e01a6
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2007/02/15 18:37:07 steven Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2007/09/04 21:06:07 jolan Exp $
|
||||
|
||||
COMMENT-main= "service daemon that monitors one or more GPSes"
|
||||
COMMENT-motif= "motif-based test apps using gpsd"
|
||||
@ -51,7 +51,8 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mno_python}
|
||||
CONFIGURE_ARGS+= --without-python
|
||||
CONFIGURE_ARGS+= --disable-python
|
||||
PATCH_LIST= nopython-* patch-*
|
||||
.else
|
||||
MULTI_PACKAGES+= -python
|
||||
MODULES= lang/python
|
||||
@ -60,6 +61,7 @@ WANTLIB-python= c m pthread
|
||||
RUN_DEPENDS-main=
|
||||
RUN_DEPENDS-motif=
|
||||
CONFIGURE_ENV+= PYTHON="${MODPY_BIN}"
|
||||
PATCH_LIST= python-* patch-*
|
||||
.endif
|
||||
|
||||
WANTLIB-main= m ncurses c pthread
|
||||
|
14
misc/gpsd/patches/nopython-Makefile_in
Normal file
14
misc/gpsd/patches/nopython-Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: nopython-Makefile_in,v 1.1 2007/09/04 21:06:07 jolan Exp $
|
||||
--- Makefile.in.orig Thu Dec 14 16:13:13 2006
|
||||
+++ Makefile.in Thu Aug 30 21:11:18 2007
|
||||
@@ -1428,8 +1428,8 @@ uninstall-man: uninstall-man1 uninstall-man3 uninstall
|
||||
packet_names.h: packet_states.h
|
||||
sed -e '/^ *\([A-Z][A-Z0-9_]*\),/s// "\1",/' -e '/_states/s//_names/' <packet_states.h >packet_names.h
|
||||
|
||||
-gpspacket.so: gpspacket.c libgps.la
|
||||
- python setup.py build_ext --inplace
|
||||
+#gpspacket.so: gpspacket.c libgps.la
|
||||
+# $(PYTHON) setup.py build_ext --inplace
|
||||
|
||||
@HAVE_XSLT_PROCESSOR_TRUE@.xml.1:
|
||||
@HAVE_XSLT_PROCESSOR_TRUE@ $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $<
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.2 2007/02/08 23:03:38 ckuethe Exp $
|
||||
$OpenBSD: python-Makefile_in,v 1.1 2007/09/04 21:06:07 jolan Exp $
|
||||
--- Makefile.in.orig Wed Jan 10 19:13:52 2007
|
||||
+++ Makefile.in Wed Jan 10 19:14:53 2007
|
||||
@@ -1429,7 +1429,7 @@ packet_names.h: packet_states.h
|
Loading…
x
Reference in New Issue
Block a user