aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorMichael Reifenberger <mr@FreeBSD.org>2019-02-13 05:07:13 +0800
committerMichael Reifenberger <mr@FreeBSD.org>2019-02-13 05:07:13 +0800
commit4743306cdd7c2cd101daf3de3ef799082c439393 (patch)
tree5cbf80edf11b3e03333a26c144dfd65df2de203f /cad
parentfacb555a2da170d8559ba0242c86642fe28d97d8 (diff)
downloadfreebsd-ports-gnome-4743306cdd7c2cd101daf3de3ef799082c439393.tar.gz
freebsd-ports-gnome-4743306cdd7c2cd101daf3de3ef799082c439393.tar.zst
freebsd-ports-gnome-4743306cdd7c2cd101daf3de3ef799082c439393.zip
Simplify C*FLAGS for i386
Submitted by: mat@
Diffstat (limited to 'cad')
-rw-r--r--cad/qcad/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index df81755c487f..9995051ee905 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -4,7 +4,7 @@
PORTNAME= qcad
PORTVERSION= 3.21.3.15
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
DIST_SUBDIR= ${PORTNAME}
@@ -49,12 +49,8 @@ QSCRIPTS= bbox dwg2bmp dwg2pdf dwg2svg
OPTIONS_DEFINE= EXAMPLES
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "i386"
-CFLAGS_${ARCH}= -fPIC
-CXXFLAGS_${ARCH}= -fPIC
-.endif
+CFLAGS_i386= -fPIC
+CXXFLAGS_i386= -fPIC
pre-configure:
${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \
@@ -79,4 +75,4 @@ do-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
> * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-5/+2 * - convert USE_CMAKE to USESmakc2013-03-231-1/+1 * - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4miwi2012-06-061-2/+1 * - update png to 1.5.10dinoex2012-06-011-1/+1 * - Bump PORTREVISION to chase the update of multimedia/libvpxashish2012-02-161-1/+1 * The vast majority of pkg-descr files had the following format when theydougb2011-10-241-3/+4 * - Update dependencies after KDE ports upgrade.avilla2011-10-171-1/+3 * - Get Rid MD5 supportmiwi2011-03-201-1/+0 * - editors/klat4: change MASTER_SITESfluffy2010-12-181-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-05