diff options
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> |