diff options
-rw-r--r-- | print/py-cups/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile index 69c9a7bed464..ae21a19839bc 100644 --- a/print/py-cups/Makefile +++ b/print/py-cups/Makefile @@ -28,4 +28,8 @@ MAKE_ENV= LDFLAGS="${LDFLAGS}" PYDISTUTILS_EGGINFO=${PORTNAME}-1.0-py${PYTHON_VER}.egg-info PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so +pre-configure: + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/cupsconnection.c + .include <bsd.port.mk> |