Opened 20 years ago

Closed 20 years ago

Last modified 8 years ago

#1065 closed defect (fixed)

Update: qpopper build fix

Reported by: danielluke (Daniel J. Luke) Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: fkr@…
Port: qpopper

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Update qpopper to use '-no-cpp-precomp' instead of '-traditional-cpp' so that it builds correctly (on 10.3)

Fix inline:

Index: 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 "

Change History (3)

comment:1 Changed 20 years ago by fkr@…

Cc: fkr@… added

since this is basically fixing things, I'll take a look and process this. thanks Daniel! -fkr

comment:2 Changed 20 years ago by fkr@…

Resolution: fixed
Status: newclosed

committed. thanks. could you make attachements of the patches, next time? thanks. -fkr

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: qpopper added
Note: See TracTickets for help on using tickets.