Opened 21 years ago
Last modified 9 years ago
#1065 closed defect
Update: qpopper build fix — at Initial Version
Reported by: | danielluke (Daniel J. Luke) | Owned by: | pguyot (Paul Guyot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | qpopper |
Description
Update qpopper to use '-no-cpp-precomp' instead of '-traditional-cpp' so that it builds correctly (on 10.3)
Fix inline:
ndex: Portfile ============================================================ ======= RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/mail/qpopper/Portfile,v retrieving revision 1.1 diff -u -d -b -w -r1.1 Portfile --- Portfile 14 Aug 2003 12:53:03 -0000 1.1 +++ Portfile 22 Oct 2003 18:47:42 -0000 @@ -20,6 +20,8 @@
post-extract { system "rm '${worksrcpath}/INSTALL'" }
+variant darwin { patchfiles patch-configure } +
pre-destroot { system "install -d ${destroot}${prefix}/etc/xinetd.d"
system "install -o root -m 755 -c ${portpath}/files/qpopper-dist \
${destroot}${prefix}/etc/xinetd.d/"
And the patch file: --- configure.orig Wed Oct 22 14:38:12 2003 +++ configure Wed Oct 22 14:38:43 2003 @@ -4324,7 +4324,7 @@
cc -v 2> TMP_CC_V if grep -i "Apple" TMP_CC_V >/dev/null then
- CFLAGS="$CFLAGS -traditional-cpp"
+ CFLAGS="$CFLAGS -no-cpp-precomp"
fi rm -f TMP_CC_V AR_FLAG=" -r "