diff options
author | mat <mat@FreeBSD.org> | 2015-03-25 00:44:41 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-03-25 00:44:41 +0800 |
commit | 4c35d2bfefd3623e821f783996a4ef2eb378a346 (patch) | |
tree | 028c6034ecbe952e88f193cbf1e35eb5215c6939 | |
parent | 1db4961594009bcbc09a21a1fb8e080ceca2291a (diff) | |
download | freebsd-ports-gnome-4c35d2bfefd3623e821f783996a4ef2eb378a346.tar.gz freebsd-ports-gnome-4c35d2bfefd3623e821f783996a4ef2eb378a346.tar.zst freebsd-ports-gnome-4c35d2bfefd3623e821f783996a4ef2eb378a346.zip |
Don't use PTHREAD_LIBS.
Sponsored by: Absolight
-rw-r--r-- | print/pdftk/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/print/pdftk/Makefile b/print/pdftk/Makefile index 2c691811bd18..fb9fffbc1d54 100644 --- a/print/pdftk/Makefile +++ b/print/pdftk/Makefile @@ -5,7 +5,7 @@ PORTNAME= pdftk PORTVERSION= 2.02 PORTREVISION= 3 CATEGORIES= print -MASTER_SITES= http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ +MASTER_SITES= http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ LOCAL/mat/pdftk DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= mat@FreeBSD.org @@ -42,11 +42,10 @@ pre-configure: fi post-patch: - @${REINPLACE_CMD} -e "s|TOOLPATH=|TOOLPATH=${LOCALBASE}/bin/|g" ${WRKSRC}/${MAKEFILE} - @${REINPLACE_CMD} -e "s|VERSUFF=|VERSUFF=${CSUFF}|g" ${WRKSRC}/${MAKEFILE} - @${REINPLACE_CMD} -e "s|GCJFLAGS=|GCJFLAGS= -L${LOCALBASE}/lib ${LDFLAGS} -w|g" ${WRKSRC}/${MAKEFILE} - @${REINPLACE_CMD} -e "s|LDLIBS= -lgcj|LDLIBS= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} ${ICONV_LIB} -lz -L${LOCALBASE}/lib ${LDFLAGS} -w|g" \ - ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e "s|TOOLPATH=|TOOLPATH=${LOCALBASE}/bin/|g; \ + s|VERSUFF=|VERSUFF=${CSUFF}|g; s|GCJFLAGS=|GCJFLAGS= -L${LOCALBASE}/lib ${LDFLAGS} -w|g; \ + s|LDLIBS= -lgcj|LDLIBS= -lgcj -pthread ${ICONV_LIB} -lz -L${LOCALBASE}/lib ${LDFLAGS} -w|g" \ + ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |