aboutsummaryrefslogtreecommitdiff
path: root/chinese/xsim
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-11-06 16:36:34 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-11-06 16:36:34 +0000
commite8f615fbc715f42707a29c7edb35e44d385cf208 (patch)
treef3d03c9a8d450e1086285595fa1bf043f7497bf6 /chinese/xsim
parentd79546650036a31ea6a476b307e54f0c4f692f31 (diff)
downloadports-e8f615fbc715f42707a29c7edb35e44d385cf208.tar.gz
ports-e8f615fbc715f42707a29c7edb35e44d385cf208.zip
Notes
Diffstat (limited to 'chinese/xsim')
-rw-r--r--chinese/xsim/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/chinese/xsim/Makefile b/chinese/xsim/Makefile
index 8e08bc8119f8..3da9bb1bb41e 100644
--- a/chinese/xsim/Makefile
+++ b/chinese/xsim/Makefile
@@ -25,14 +25,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message xsim.sh
USE_BDB= 40+
-.include <bsd.port.pre.mk>
-
CFLAGS+= -fPIC
-.if ${OSVERSION} < 700000
-MAKE_ARGS+= gcclib=`${CXX} -print-file-name=libgcc_pic.a`
-.else
MAKE_ARGS+= gcclib=`${CXX} -print-file-name=libgcc_s.so`
-.endif
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
@@ -50,4 +44,4 @@ post-install:
@${CP} -R ${WRKDIR}/usr/local/xsim/dat/* ${DATADIR}/dat
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>