diff options
author | marino <marino@FreeBSD.org> | 2015-03-25 02:19:23 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-03-25 02:19:23 +0800 |
commit | c671b7499c21f0b5d1b3b76b64de4a06c8414dcc (patch) | |
tree | d22ee47f309af4f98bfeb96fd87674677e46b434 /ftp | |
parent | 581716bd366fcb585a3ced95a32b9b5d017bb1cf (diff) | |
download | freebsd-ports-gnome-c671b7499c21f0b5d1b3b76b64de4a06c8414dcc.tar.gz freebsd-ports-gnome-c671b7499c21f0b5d1b3b76b64de4a06c8414dcc.tar.zst freebsd-ports-gnome-c671b7499c21f0b5d1b3b76b64de4a06c8414dcc.zip |
4 ports categories: Remove $PTHREAD_LIBS
Categories: www, ftp, net-im, net-mgmt
approved by: PTHREAD blanket
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/axel/Makefile | 3 | ||||
-rw-r--r-- | ftp/oftpd/Makefile | 3 | ||||
-rw-r--r-- | ftp/pavuk/Makefile | 4 | ||||
-rw-r--r-- | ftp/pftpd/Makefile | 4 | ||||
-rw-r--r-- | ftp/quftp/Makefile | 9 |
5 files changed, 5 insertions, 18 deletions
diff --git a/ftp/axel/Makefile b/ftp/axel/Makefile index 22eed1c87638..975156099670 100644 --- a/ftp/axel/Makefile +++ b/ftp/axel/Makefile @@ -25,7 +25,6 @@ NLS_CONFIGURE_OFF= --i18n=0 DEBUG_CONFIGURE_ON=--debug=1 --strip=0 post-configure: - @${REINPLACE_CMD} -e 's|gcc|${CC}|; \ - s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings + @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile.settings .include <bsd.port.mk> diff --git a/ftp/oftpd/Makefile b/ftp/oftpd/Makefile index 47cf112d3757..482f97636e70 100644 --- a/ftp/oftpd/Makefile +++ b/ftp/oftpd/Makefile @@ -20,8 +20,7 @@ PLIST_FILES= sbin/oftpd man/man8/oftpd.8.gz OPTIONS_DEFINE= DOCS post-patch: - ${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \ - s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|-D_THREAD_SAFE||g' ${WRKSRC}/configure .if defined(MAX_NUM_CLIENTS) ${REINPLACE_CMD} -e 's|MAX_NUM_CLIENTS 300|MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}|g' ${WRKSRC}/src/oftpd.h .endif diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile index d3a5fa257bb1..5def0392b48e 100644 --- a/ftp/pavuk/Makefile +++ b/ftp/pavuk/Makefile @@ -39,10 +39,6 @@ DANTE_CONFIGURE_ON= --with-socks-includes=${LOCALBASE}/include \ DANTE_LIB_DEPENDS= libsocks.so:${PORTSDIR}/net/dante pre-patch: - @${REINPLACE_CMD} -e \ - 's|-pthread -DHAVE_MT|${PTHREAD_CFLAGS} -DHAVE_MT|g ; \ - s|-pthread|${PTHREAD_LIBS}|g ; \ - s|-lpthreads|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(datadir)/icons|$$(pkgdatadir)/icons|g' diff --git a/ftp/pftpd/Makefile b/ftp/pftpd/Makefile index 5d31552ffa59..e2ae38fcb9d3 100644 --- a/ftp/pftpd/Makefile +++ b/ftp/pftpd/Makefile @@ -16,10 +16,6 @@ PLIST_FILES= sbin/pftpd \ man/man1/pftpd.1.gz \ man/man1/rpad.1.gz -post-patch: - @${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|-lpthread|${PTHREAD_LIBS}|g' - do-install: (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} pftpd ${STAGEDIR}${PREFIX}/sbin) (cd ${WRKSRC}/doc && ${INSTALL_MAN} *.1 ${STAGEDIR}${MANPREFIX}/man/man1) diff --git a/ftp/quftp/Makefile b/ftp/quftp/Makefile index e0479c6a5733..897d54fd674c 100644 --- a/ftp/quftp/Makefile +++ b/ftp/quftp/Makefile @@ -15,17 +15,14 @@ LICENSE= GPLv2 USES= ncurses readline GNU_CONFIGURE= yes -CPPFLAGS+= ${PTHREAD_CFLAGS} -LDFLAGS+= ${PTHREAD_LIBS} - +LDFLAGS+= -lpthread PLIST_FILES= bin/quftp man/man1/quftp.1.gz post-patch: - @${REINPLACE_CMD} -e \ - '/^CFLAGS/s|+=.*|= ${CFLAGS} ${CPPFLAGS}|' \ + @${REINPLACE_CMD} -e '/^CFLAGS/s|+=.*|= ${CFLAGS} ${CPPFLAGS}|' \ ${WRKSRC}/Makefile.in post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quftp + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quftp .include <bsd.port.mk> |