Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#11929 closed defect (fixed)

BUG: depends_lib-delete handles multiple arguments improperly

Reported by: putte_xvi@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.4
Component: base Version:
Keywords: Cc:
Port:

Description

When installing pTeX, specifying the nox11 variant has no effect. It still tries to install pkgconfig, motif and so on.

It works if I change the portfile like this:

--- Portfile.orig	2007-04-01 12:02:26.000000000 +0200
+++ Portfile	2007-05-10 21:04:34.000000000 +0200
@@ -195,7 +195,13 @@
 variant utf8 conflicts euc sjis {}
 
 variant nox11 conflicts motif xaw xaw3d nextaw {
-	depends_lib-delete lib:libX11:XFree86 lib:libXm:openmotif port:fontconfig port:freetype port:gd2 port:jpeg port:libiconv
+	depends_lib-delete lib:libX11:XFree86
+	depends_lib-delete lib:libXm:openmotif
+	depends_lib-delete port:fontconfig
+	depends_lib-delete port:freetype
+	depends_lib-delete port:gd2
+	depends_lib-delete port:jpeg
+	depends_lib-delete port:libiconv
 	# gd2 requires X11
 	configure.args-delete --with-system-gd --with-xdvi-x-toolkit=motif
 	configure.args-append --without-system-gd --without-x --without-xdvik

This probably also applies to the other variants of the port, but I've only tried nox11.

Change History (5)

comment:1 Changed 17 years ago by pipping@…

Component: portsbase
Milestone: Needs developer review
Summary: pTeX +nox11 variant does not workBUG: depends_lib-delete handles multiple arguments improperly

comment:2 Changed 17 years ago by kballard (Lily Ballard)

Resolution: fixed
Status: newclosed

Fixed in r25007. Sorry about this, it was entirely my fault.

comment:3 Changed 17 years ago by jmpp@…

Milestone: Needs developer reviewMacPorts 1.4

comment:4 Changed 17 years ago by nox@…

Priority: ExpectedNormal

comment:5 Changed 17 years ago by jmpp@…

Merged into the release_1_4 branch in r25263.

-jmpp

Note: See TracTickets for help on using tickets.