aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/aiksaurus-gtk/Makefile6
-rw-r--r--textproc/aiksaurus/Makefile8
2 files changed, 7 insertions, 7 deletions
diff --git a/textproc/aiksaurus-gtk/Makefile b/textproc/aiksaurus-gtk/Makefile
index bf00c5b56a08..269971b05001 100644
--- a/textproc/aiksaurus-gtk/Makefile
+++ b/textproc/aiksaurus-gtk/Makefile
@@ -14,12 +14,6 @@ PKGDIR= ${.CURDIR}
USE_GNOME= gtk20
CONFIGURE_ARGS=--with-gtk
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 1000000
-BROKEN= does not link against GTK2 on FreeBSD 10+
-.endif
-
pre-install:
@${REINPLACE_CMD} -e 's|base [$$][(]GTKSRCDIR[)] data|$$(GTKSRCDIR)|g' \
${WRKSRC}/Makefile
diff --git a/textproc/aiksaurus/Makefile b/textproc/aiksaurus/Makefile
index 3cdc3ffbfbf2..5bf73a435606 100644
--- a/textproc/aiksaurus/Makefile
+++ b/textproc/aiksaurus/Makefile
@@ -18,4 +18,10 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?=--without-gtk
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(PKGNAMESUFFIX) && ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
+BROKEN= does not link against GTK2 on FreeBSD 10+
+.endif
+
+.include <bsd.port.post.mk>