pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43826: print/cups fails to build from pkgsrc-2010Q2 on NetBSD/macppc 5.0.1



The following reply was made to PR pkg/43826; it has been noted by GNATS.

From: Dave B <spam%y2011.dberg.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: pkg/43826: print/cups fails to build from pkgsrc-2010Q2 on
 NetBSD/macppc 5.0.1
Date: Thu, 6 Jan 2011 07:04:26 -0500

 New version of above patch for recent (2011) pkgsrc; also addresses
 Torsten's observation that the .if clause didn't get triggered.
 
 Tested on NetBSD/macppc 5.1_STABLE.  Successfully compiled on my
 Mac mini.  I pasted it below in case it could be helpful.
 
 Cheers,  --Dave
 Boston, MA
 
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/print/cups/Makefile,v
 retrieving revision 1.173
 diff -u -r1.173 Makefile
 --- Makefile   3 Jan 2011 05:58:49 -0000       1.173
 +++ Makefile   6 Jan 2011 11:47:05 -0000
 @@ -137,6 +137,14 @@
  SUBST_SED.rpathfix=   -e 
's|@EXPORT_LDFLAGS@|${COMPILER_RPATH_FLAG}${PREFIX}/lib|g'
  SUBST_STAGE.rpathfix= post-patch
  
 +.if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Mpowerpc)
 +SUBST_CLASSES+=               piefix
 +SUBST_FILES.piefix=   Makedefs.in
 +SUBST_MESSAGE.piefix= Removing PIE flags
 +SUBST_SED.piefix=     -e 's|@PIEFLAGS@||g'
 +SUBST_STAGE.piefix=   post-patch
 +.endif
 +
  INSTALLATION_DIRS=     ${DOCDIR} ${EGDIR} ${MIMEDIR}
  INSTALL_ENV+=          DSTROOT=${DESTDIR}
 


Home | Main Index | Thread Index | Old Index