aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/xdtp/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/japanese/xdtp/Makefile b/japanese/xdtp/Makefile
index 030d4cd2a3d9..27ec6b418427 100644
--- a/japanese/xdtp/Makefile
+++ b/japanese/xdtp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xdtp
PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES+= http://www.ongs.co.jp/projects/xdtp/
DISTNAME= xdtp-${PORTVERSION}
@@ -27,10 +27,12 @@ OPTIONS= GDK "Build with Gdk-Pixbuf" on \
DEBUG "Build with debug option" off \
INCLUDE "Install with XDTP include files" on
-CFLAGS+= -fPIC
-
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
.if defined(WITH_GDK)
USE_GNOME+= gtk20
.else