diff options
author | reg <reg@FreeBSD.org> | 2000-04-17 08:18:05 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-04-17 08:18:05 +0800 |
commit | 8b766534122d71052c9f8e5a0752944edf0450f8 (patch) | |
tree | 255862bd3b0c32802317a9ddc3193fd714753916 /lang | |
parent | e0c8ef49d897de0719277097a1e6578f291f493e (diff) | |
download | freebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.tar.gz freebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.tar.zst freebsd-ports-gnome-8b766534122d71052c9f8e5a0752944edf0450f8.zip |
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined
options.
No comment by: ports
Diffstat (limited to 'lang')
-rw-r--r-- | lang/modula-3-lib/Makefile | 4 | ||||
-rw-r--r-- | lang/modula-3/Makefile | 4 | ||||
-rw-r--r-- | lang/python-devel/Makefile | 8 |
3 files changed, 7 insertions, 9 deletions
diff --git a/lang/modula-3-lib/Makefile b/lang/modula-3-lib/Makefile index e6854379fdcb..514e4dd7129a 100644 --- a/lang/modula-3-lib/Makefile +++ b/lang/modula-3-lib/Makefile @@ -73,11 +73,11 @@ libdir= lib/m3/FreeBSD2 major= 6 # Support building on systems with or without X11 installed. -.ifdef NO_X11 +.ifdef WITHOUT_X11 PLIST= ${WRKDIR}/PLIST.noX11 .else pre-fetch: - @${ECHO_MSG} "To build this port without X11, define \"NO_X11\"." + @${ECHO_MSG} "To build this port without X11, define \"WITHOUT_X11\"." USE_XLIB= yes PLIST= ${WRKDIR}/PLIST diff --git a/lang/modula-3/Makefile b/lang/modula-3/Makefile index 3cf1ef0249ad..1ce14f3901a4 100644 --- a/lang/modula-3/Makefile +++ b/lang/modula-3/Makefile @@ -33,11 +33,11 @@ major= 6 temp_prefix= ${WRKSRC}/installed # Support building on systems with or without X11 installed. -.ifdef NO_X11 +.ifdef WITHOUT_X11 PLIST= ${WRKDIR}/PLIST.noX11 .else pre-fetch: - @${ECHO_MSG} "To build this port without X11, define \"NO_X11\"." + @${ECHO_MSG} "To build this port without X11, define \"WITHOUT_X11\"." PLIST= ${WRKDIR}/PLIST MAN1+= formsedit.1 replayheap.1 showheap.1 shownew.1 showthread.1 diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile index 311e9a39b235..954c1d45a6ea 100644 --- a/lang/python-devel/Makefile +++ b/lang/python-devel/Makefile @@ -36,9 +36,8 @@ SETUP_FILE= Setup # # This option is enabled by default. # -WITH_THREADS?= yes LIBC_R!= /sbin/ldconfig -r | grep c_r || true -.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes +.if (${LIBC_R} != "") && !defined(WITHOUT_THREADS) CONFIGURE_ARGS+= --with-thread CFLAGS+= -D_THREAD_SAFE CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}" @@ -57,8 +56,7 @@ PLIST_GMP= ${PKGDIR}/PLIST.gmp # to a web tree checker, to a collection of simple scripts that are useful # while extending or managing Python. # -WITH_TOOLS?= yes -.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes +.if !defined(WITHOUT_TOOLS) PLIST_TOOLS= ${PKGDIR}/PLIST.Tools .endif @@ -99,7 +97,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/Misc/python-mode.el ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/Misc/COPYRIGHT ${PREFIX}/share/doc/python @${MKDIR} ${PREFIX}/lib/python1.5/site-packages -.if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes +.if !defined(WITHOUT_TOOLS) @cd ${WRKSRC}; tar cf - Tools | \ (cd ${PREFIX}/lib/python1.5; tar xf -) .endif |