aboutsummaryrefslogtreecommitdiff
path: root/cad/repsnapper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/repsnapper/Makefile')
-rw-r--r--cad/repsnapper/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/cad/repsnapper/Makefile b/cad/repsnapper/Makefile
index 5199d489ab87..bb00b4c319d8 100644
--- a/cad/repsnapper/Makefile
+++ b/cad/repsnapper/Makefile
@@ -45,7 +45,9 @@ USE_GMAKE= yes
USE_XORG= ice pixman sm x11 xau xcomposite xcursor xdamage xdmcp xext \
xfixes xi xinerama xmu xrandr xrender xt xxf86vm
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
@@ -75,10 +77,4 @@ post-install:
${PREFIX}/etc/xdg/repsnapper/repsnapper.conf ; \
fi
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-IGNORE= needs acosl(3) function to compile
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>