aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-04 07:13:16 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-04 07:13:16 +0000
commit10f266c4f0e5915f245b0183068297b65635cd8a (patch)
tree3d1905240c42f38d5be377dc80ba9931b83b85e4
parent5c948683eeab2c1a509dbf6ab6151d333eefba3c (diff)
downloadports-10f266c4f0e5915f245b0183068297b65635cd8a.tar.gz
ports-10f266c4f0e5915f245b0183068297b65635cd8a.zip
Add a dependency on compat4x if building on 5.X systems or higher.
Reported by: kris Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=118530
-rw-r--r--databases/libudbc/Makefile4
-rw-r--r--devel/p4v/Makefile8
-rw-r--r--graphics/blender/Makefile9
-rw-r--r--mail/listmanager/Makefile4
-rw-r--r--sysutils/asr-utils/Makefile8
-rw-r--r--www/ssserver/Makefile8
6 files changed, 37 insertions, 4 deletions
diff --git a/databases/libudbc/Makefile b/databases/libudbc/Makefile
index ac6c61abb286..c76148c7fced 100644
--- a/databases/libudbc/Makefile
+++ b/databases/libudbc/Makefile
@@ -53,6 +53,10 @@ post-install:
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
.if ${OSVERSION} < 400000
IGNORE= "Systems prior to 4.x are not supported"
.endif
diff --git a/devel/p4v/Makefile b/devel/p4v/Makefile
index 0a74361f262f..bed95b3f11df 100644
--- a/devel/p4v/Makefile
+++ b/devel/p4v/Makefile
@@ -64,6 +64,12 @@ P4V_IMGS= p4v_file_add.png p4v_file_add_other.png p4v_file_delete.png \
p4v_file_txt.png p4v_file_ws.png p4v_filter.png \
p4v_merge_screenshot.png p4v_diff_screenshot.png
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/p4v ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@@ -79,4 +85,4 @@ do-install:
post-install:
${SED} -e 's!%%PREFIX%%!${PREFIX}!' ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 0c880b959a05..e96203c8b826 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -7,6 +7,7 @@
PORTNAME= blender
PORTVERSION= 2.25
+PORTREVISION= 1
CATEGORIES= graphics games
MASTER_SITES= http://download.blender.org/release/Publisher${PORTVERSION}/
DISTNAME= blender-publisher-${PORTVERSION}-freebsd-4.2-i386
@@ -20,6 +21,12 @@ NO_BUILD= YES
ONLY_FOR_ARCHS= i386
USE_MESA= YES
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/blenderplayer ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/blenderpublisher ${PREFIX}/bin
@@ -39,4 +46,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/copyright.txt ${PREFIX}/share/doc/blender
${INSTALL_DATA} ${WRKSRC}/playerlicense.txt ${PREFIX}/share/doc/blender
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/listmanager/Makefile b/mail/listmanager/Makefile
index a38ce5ac66fb..23a381420377 100644
--- a/mail/listmanager/Makefile
+++ b/mail/listmanager/Makefile
@@ -15,6 +15,10 @@ DIST_SUBDIR= ${PORTNAME}
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
.if ${OSVERSION} >= 440000
EXTRACT_SUFX= .freebsd44
.else
diff --git a/sysutils/asr-utils/Makefile b/sysutils/asr-utils/Makefile
index 2400e1946caf..4856a18c0b30 100644
--- a/sysutils/asr-utils/Makefile
+++ b/sysutils/asr-utils/Makefile
@@ -23,6 +23,12 @@ NO_WRKSUBDIR= yes
USE_XLIB= yes
BINS= dptcom dpteng dptscom dptsig raidutil dptmgr
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
do-build:
${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
${FILESDIR}/dptmgr.sh.in > ${WRKDIR}/dptmgr.sh
@@ -41,4 +47,4 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/libXm.so.1 ${X11BASE}/lib
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/ssserver/Makefile b/www/ssserver/Makefile
index 371212e7983d..5bee874924f1 100644
--- a/www/ssserver/Makefile
+++ b/www/ssserver/Makefile
@@ -18,6 +18,12 @@ NO_BUILD= yes
INSTALL_RWDATA= ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m 666
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
do-install:
@${MKDIR} ${PREFIX}/www/cgi-bin/ssserverdata
@${INSTALL_PROGRAM} ${WRKSRC}/ssserver ${PREFIX}/www/cgi-bin
@@ -83,4 +89,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>