aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 08:15:01 +0800
committeredwin <edwin@FreeBSD.org>2007-10-04 08:15:01 +0800
commit29a967ceb6d6dfcbdd9e64f48612c512212a1706 (patch)
treee26406fc36abba199de2faa1fdeb43b2afac3091 /cad
parent20b96b7fbcb96822c60f131033529f90bb4d89e6 (diff)
downloadfreebsd-ports-gnome-29a967ceb6d6dfcbdd9e64f48612c512212a1706.tar.gz
freebsd-ports-gnome-29a967ceb6d6dfcbdd9e64f48612c512212a1706.tar.zst
freebsd-ports-gnome-29a967ceb6d6dfcbdd9e64f48612c512212a1706.zip
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'cad')
-rw-r--r--cad/geda-gattrib/Makefile8
-rw-r--r--cad/geda-gschem/Makefile8
-rw-r--r--cad/geda-netlist/Makefile8
-rw-r--r--cad/geda-symcheck/Makefile8
-rw-r--r--cad/geda-utils/Makefile8
-rw-r--r--cad/gtkwave/Makefile8
-rw-r--r--cad/qcad/Makefile6
7 files changed, 6 insertions, 48 deletions
diff --git a/cad/geda-gattrib/Makefile b/cad/geda-gattrib/Makefile
index 567799e420ca..e1072a0b2de3 100644
--- a/cad/geda-gattrib/Makefile
+++ b/cad/geda-gattrib/Makefile
@@ -29,15 +29,9 @@ CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile on 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -E \
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/geda-gschem/Makefile b/cad/geda-gschem/Makefile
index 40750a679525..0dabc50d3a4b 100644
--- a/cad/geda-gschem/Makefile
+++ b/cad/geda-gschem/Makefile
@@ -39,15 +39,9 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile on 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -E \
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/geda-netlist/Makefile b/cad/geda-netlist/Makefile
index 454e6ebf3327..4b776062d6d7 100644
--- a/cad/geda-netlist/Makefile
+++ b/cad/geda-netlist/Makefile
@@ -31,15 +31,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gnetlist.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile on 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -E \
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/geda-symcheck/Makefile b/cad/geda-symcheck/Makefile
index e7657809e305..6543e833d330 100644
--- a/cad/geda-symcheck/Makefile
+++ b/cad/geda-symcheck/Makefile
@@ -31,15 +31,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gsymcheck.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile on 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -E \
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/geda-utils/Makefile b/cad/geda-utils/Makefile
index c7242842c729..7b4b59ab3a46 100644
--- a/cad/geda-utils/Makefile
+++ b/cad/geda-utils/Makefile
@@ -32,15 +32,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= grenum.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile on 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -E \
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile
index 7595d6d7d159..7afb580a0989 100644
--- a/cad/gtkwave/Makefile
+++ b/cad/gtkwave/Makefile
@@ -26,12 +26,6 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${PREFIX}/lib/gtkwave
-.include <bsd.port.pre.mk>
-
-.if ( ${OSVERSION} < 500000 )
-USE_GCC= 3.4
-.endif
-
DOCS= doc/*.html doc/*.png doc/*.ps
EXAMPLES= examples/*.gz examples/*.vcd
@@ -47,4 +41,4 @@ post-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index df38c0c754df..90d565a4519d 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -36,12 +36,6 @@ MAKE_ENV= QTDIR="${QTDIR}" MAKE="${GMAKE}" \
CFLAGS+= -O0
.endif
-post-patch:
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} -e 's|streambuf<|streambuf\.h<|g' \
- ${WRKSRC}/qcadguiqt/src/ui/qg_commandwidget.ui
-.endif
-
do-build:
cd ${WRKSRC}/scripts && ${SETENV} ${MAKE_ENV} bash ./build_qcad.sh notrans