aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-cups
diff options
context:
space:
mode:
Diffstat (limited to 'print/py-cups')
-rw-r--r--print/py-cups/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile
index 69c9a7bed46..ae21a19839b 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>