aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-08-06 00:03:36 +0800
committeraz <az@FreeBSD.org>2013-08-06 00:03:36 +0800
commitc632a5342afd879e33094463f3d743ad54181b85 (patch)
tree0db95101dc81687444daf1d74677cf7e833b6727
parentffb359cefa4dba6aa7a858438318194c7449ea06 (diff)
downloadfreebsd-ports-gnome-c632a5342afd879e33094463f3d743ad54181b85.tar.gz
freebsd-ports-gnome-c632a5342afd879e33094463f3d743ad54181b85.tar.zst
freebsd-ports-gnome-c632a5342afd879e33094463f3d743ad54181b85.zip
- Fix USES=perl5 (it can't be after pre.mk)
-rw-r--r--print/hpijs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile
index f4aa34ff0292..85d043e833a9 100644
--- a/print/hpijs/Makefile
+++ b/print/hpijs/Makefile
@@ -24,8 +24,6 @@ OPTIONS_DEFINE= CUPS DOCS FOOMATIC
OPTIONS_DEFAULT= CUPS FOOMATIC
FOOMATIC_DESC= Install foomatic-rip and PPD files
-.include <bsd.port.pre.mk>
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCUPS} || ${PORT_OPTIONS:MFOOMATIC}
@@ -47,6 +45,8 @@ CONFIGURE_ARGS+= --disable-cups-install
PLIST_SUB+= CUPS="@comment "
.endif
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/share/cups|${LOCALBASE}/share/cups|g ; \
s|/usr/lib/cups/filter|${LOCALBASE}/libexec/cups/filter|g' \