aboutsummaryrefslogtreecommitdiff
path: root/print/xfce4-print
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /print/xfce4-print
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
downloadports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz
ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip
Notes
Diffstat (limited to 'print/xfce4-print')
-rw-r--r--print/xfce4-print/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/xfce4-print/Makefile b/print/xfce4-print/Makefile
index 4a00f9378e18..061999e84b0d 100644
--- a/print/xfce4-print/Makefile
+++ b/print/xfce4-print/Makefile
@@ -32,7 +32,7 @@ OPTIONS_SINGLE_PRINTMETHOD= LPR CUPS
LETTER_DESC= Use letter paper format instead of A4
LPR_DESC= LPR printing system support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCUPS}
CONFIGURE_ARGS+=--enable-cups
@@ -58,7 +58,8 @@ CONFIGURE_ARGS+=--disable-letter
.endif
post-patch:
- @${REINPLACE_CMD} -e 's/@LDFLAGS@/& -Wl,-E/' ${WRKSRC}/xfprint/Makefile.in \
- ${WRKSRC}/xfprint-manager/Makefile.in
+ @${REINPLACE_CMD} '/_LDADD =/s/=/= -lX11/' \
+ ${WRKSRC}/xfprint/Makefile.in \
+ ${WRKSRC}/xfprint-manager/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>