aboutsummaryrefslogtreecommitdiff
path: root/math/calctool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/calctool/Makefile')
-rw-r--r--math/calctool/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/calctool/Makefile b/math/calctool/Makefile
index 5a7d86d90516..072c30586723 100644
--- a/math/calctool/Makefile
+++ b/math/calctool/Makefile
@@ -7,7 +7,7 @@
PORTNAME= calctool
PORTVERSION= 2.4.13
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= nsayer
@@ -27,7 +27,7 @@ MAN1= calctool.1
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_X11)
-USE_XLIB= yes
+USE_XORG= x11
BINARIES+= xcalctool
PLIST_SUB+= X11=""
.else
@@ -57,7 +57,7 @@ FPIC= -fpic
post-patch:
@${REINPLACE_CMD} -e "s#%%FPIC%%#${FPIC}#g" \
- -e "s#%%X11BASE%%#${X11BASE}#g" \
+ -e "s#%%LOCALBASE%%#${LOCALBASE}#g" \
-e "s#%%BINARIES%%#${BINARIES}#g" \
-e "s#%%DATADIR%%#${DATADIR}#g" \
${WRKSRC}/Makefile