diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-04 18:06:07 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-04 18:06:07 +0000 |
commit | 642be1b81d8342d3a3323f43bcf5a0bd87a5d363 (patch) | |
tree | f71b3671c7729b9cbc9368cea2f2fede7b20d5c8 /print | |
parent | bcaced2c93b58d27ca266602f4049df6ba6becb3 (diff) | |
download | ports-642be1b81d8342d3a3323f43bcf5a0bd87a5d363.tar.gz ports-642be1b81d8342d3a3323f43bcf5a0bd87a5d363.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/gv/Makefile | 2 | ||||
-rw-r--r-- | print/pdftk/Makefile | 2 | ||||
-rw-r--r-- | print/py-cups/Makefile | 7 |
3 files changed, 8 insertions, 3 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile index 7d16e9173392..0984de354e19 100644 --- a/print/gv/Makefile +++ b/print/gv/Makefile @@ -20,7 +20,7 @@ USE_PERL5_BUILD= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV += LDFLAGS="${LDFLAGS}" LIBS="-liconv" +CONFIGURE_ENV += LDFLAGS="${LDFLAGS}" LIBS="${ICONV_LIB}" CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/X11 \ --enable-setenv-code \ --enable-SIGCHLD-fallback diff --git a/print/pdftk/Makefile b/print/pdftk/Makefile index 9107868669e8..0c261c7d24e8 100644 --- a/print/pdftk/Makefile +++ b/print/pdftk/Makefile @@ -52,7 +52,7 @@ post-patch: # @${REINPLACE_CMD} -e "s|GCJFLAGS=|GCJFLAGS= -L${LOCALBASE}/lib -Wl,-rpath=${LOCALBASE}/lib/gcc${CSUFF} -w|g" ${WRKSRC}/${MAKEFILE} - @${REINPLACE_CMD} -e "s|LDLIBS= -lgcj|LDLIBS= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz -L${LOCALBASE}/lib -Wl,-rpath=${LOCALBASE}/lib/gcc${CSUFF} -w|g" \ + @${REINPLACE_CMD} -e "s|LDLIBS= -lgcj|LDLIBS= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} ${ICONV_LIB} -lz -L${LOCALBASE}/lib -Wl,-rpath=${LOCALBASE}/lib/gcc${CSUFF} -w|g" \ ${WRKSRC}/${MAKEFILE} do-install: diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile index 9bc34e4975f6..68fa92a89d4b 100644 --- a/print/py-cups/Makefile +++ b/print/py-cups/Makefile @@ -23,11 +23,16 @@ USE_PYTHON= -2.7 PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so PYDISTUTILS_EGGINFO= py${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg-info +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -e 's|^\(VERSION=\).*$$|\1${PORTVERSION}|' ${WRKSRC}/Makefile +.if empty(ICONV_LIB) + @${REINPLACE_CMD} -e 's| or sys.platform.startswith("freebsd"):|:|' ${WRKSRC}/setup.py +.endif pre-configure: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cupsconnection.c @${REINPLACE_CMD} -e 's|#ifdef __SVR4|#ifdef __FreeBSD__|' ${WRKSRC}/cupsppd.c -.include <bsd.port.mk> +.include <bsd.port.post.mk> |