diff options
author | pav <pav@FreeBSD.org> | 2009-01-07 01:59:31 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-01-07 01:59:31 +0800 |
commit | 8ef21a396d8627cdfced24744c2bacb7cb0c9453 (patch) | |
tree | 06fbb407306ac7e1b7b00946df69737e787c8891 /net-p2p/mldonkey | |
parent | e32973556a174646ad93cdf1b43963a9fc18eb55 (diff) | |
download | freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.gz freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.zst freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.zip |
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'net-p2p/mldonkey')
-rw-r--r-- | net-p2p/mldonkey/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile index 5f516d873f96..0f9e59b82f97 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/Makefile @@ -37,6 +37,8 @@ CONFIGURE_ENV+= \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" +# FreeBSD has reentrant dns code +PTHREAD_CFLAGS+= -D_REENTRANT ### ## Library dependency handling @@ -109,11 +111,6 @@ ALL_TARGET+= \ .include <bsd.port.pre.mk> -# FreeBSD has reentrant dns code -.if ( ((${OSVERSION} >= 504102) && (${OSVERSION} < 600000)) || (${OSVERSION} >= 600029) ) -PTHREAD_CFLAGS+= -D_REENTRANT -.endif - ### Development version ## Thus, we will use non standard threading library ## We will switch from libpthread to libthr which should produce |