diff options
author | tobez <tobez@FreeBSD.org> | 2003-09-24 20:18:50 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2003-09-24 20:18:50 +0800 |
commit | d884388a02bc594e93832b615b21b7c10567cc8b (patch) | |
tree | 93b1bc9548f08758c1a6acff4ca36776a326168a /devel/p4api | |
parent | e49ccdfa06e88d02e16c51b9035f05fb58662120 (diff) | |
download | freebsd-ports-gnome-d884388a02bc594e93832b615b21b7c10567cc8b.tar.gz freebsd-ports-gnome-d884388a02bc594e93832b615b21b7c10567cc8b.tar.zst freebsd-ports-gnome-d884388a02bc594e93832b615b21b7c10567cc8b.zip |
This port was not really usable on i386-5.X due to an updated GCC,
since C++ name mangling has changed in an incompatible way. Now that
perforce has put FreeBSD 5.X p4api binary on their FTP site, the port
can be updated to work on both 4.X and 5.X.
The tarball for 4.X was tested with 2.95.4. The tarball for 5.X was
tested with 3.3.1. If there were other incompatible name mangling
changes in GCC in between, neither will work, so beware.
Also, the FreeBSD 4.X p4api tarball checksum has changed. Perforce has
confirmed that the new checksum is correct.
Approved by: maintainer
Diffstat (limited to 'devel/p4api')
-rw-r--r-- | devel/p4api/Makefile | 11 | ||||
-rw-r--r-- | devel/p4api/distinfo | 6 |
2 files changed, 12 insertions, 5 deletions
diff --git a/devel/p4api/Makefile b/devel/p4api/Makefile index f800d20e5c36..26c3d7452643 100644 --- a/devel/p4api/Makefile +++ b/devel/p4api/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM http://www.perforce.com/perforce/doc.${DOCVER}/user/:txt EXTRACT_SUFX= DISTFILES= ${TAR_FILES}:tar p4api.txt:txt -DIST_SUBDIR= perforce/${VERSION}/${ARCH} +DIST_SUBDIR= perforce/${VERSION}/${ARCH}-${PLATFORM} EXTRACT_ONLY= ${TAR_FILES} MAINTAINER= kuriyama@FreeBSD.org @@ -22,17 +22,22 @@ COMMENT= Perforce API (static libraries and header files) NO_BUILD= yes NO_WRKSUBDIR= yes +VERSION= 03.1 +REVISION= 1 + .include <bsd.port.pre.mk> .if ${ARCH} == i386 +.if ${OSVERSION} >= 501103 +PLATFORM= freebsd5 +.else PLATFORM= freebsd4 +.endif TAR_FILES= p4api.tar .else IGNORE= "Unsupported platform, sorry." .endif -VERSION= 03.1 -REVISION= 0 DOCVER= ${VERSION:S/.//} do-install: diff --git a/devel/p4api/distinfo b/devel/p4api/distinfo index 44e93d98a0a5..458b1a8c4b86 100644 --- a/devel/p4api/distinfo +++ b/devel/p4api/distinfo @@ -1,2 +1,4 @@ -MD5 (perforce/03.1/i386/p4api.tar) = 0e7e9b713dc08dd7a41d4c7f3ef5ab9d -MD5 (perforce/03.1/i386/p4api.txt) = f49132a4c5529e1901521ace157ef3ef +MD5 (perforce/03.1/i386-freebsd4/p4api.tar) = 6402ce08a4a49e20cb34a06b30be1dbc +MD5 (perforce/03.1/i386-freebsd4/p4api.txt) = f49132a4c5529e1901521ace157ef3ef +MD5 (perforce/03.1/i386-freebsd5/p4api.tar) = e2a71c3b57212deae1943e84847ffd4f +MD5 (perforce/03.1/i386-freebsd5/p4api.txt) = f49132a4c5529e1901521ace157ef3ef |